Posts by Maycon Willian Alves da Silva • 75 points
9 posts
-
0
votes0
answers29
viewsQ: Why is the data blank when changing a data in phpMyAdmin using Hibernate JPA? I am using Nextline
package loja; import javax.persistence.EntityManagerFactory; import javax.persistence.Persistence; public class Loja { **Conexão: Loja** private static EntityManagerFactory loja; public static…
-
0
votes1
answer71
viewsQ: I am unable to list the data in the Mysql database using Hibernate JPA
**Classe: Estado** package entidade; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; @Entity public…
-
-3
votes4
answers623
viewsQ: Print ranges of numbers with final 5
I’m trying to print the numbers from 0 to 200 that have only the number 5 as the last digit. package Exercícios; public class NumerosQueComeçamComAlgarimo5 { public static void main (String [] args)…
-
0
votes3
answers1537
viewsQ: Calculate the age group of 10 people within a repeat loop?
Below is the code I am using, this presenting the following error: SyntaxError: invalid syntax maycon@maycon-H14SU08:~/Documentos/Algoritimos$ python3 prova_lista.py File "prova_lista.py", line 23…
-
0
votes1
answer141
viewsQ: Is it possible to use Sqlite3 on Android using the Qpython3 app?
I’m trying to create a table: import sqlite3 def criar_tab_contato(conexao): cursor = conexao.cursor() sql = """ CREATE TABLE IF NOT EXISTS contato( nome text, telefone text, senha text ); """…
-
1
votes1
answer1287
viewsQ: Return from a sub menu to the main menu of a Python function
I created a simple Python application for an agenda system with Sqlite3. There are 3 files in the main menu agenda.py the of contato.py and usuario.py who log in to the system. In the file…
-
0
votes1
answer548
viewsQ: Variable check if the field is not typed in Python?
I need to check if the variable was filled with a name, I tried to check with If and break but the field keeps filling without typing any word.... Below is the code I’m making... opcao = 0 while…
pythonasked Maycon Willian Alves da Silva 75 -
0
votes2
answers470
viewsQ: Match Checking Python Hangman game
I’m finishing the Python hangman game. But I’m having trouble with the final check when the player hits the word, I’m not able to create a check to validate if the player hit the word, could help…
pythonasked Maycon Willian Alves da Silva 75 -
-1
votes1
answer401
viewsQ: Hangman Game - Hit Check
Guys I’m having a problem to finish the frock game in Python, I’m not able to do a scheme to check if the letters were right and or wrong, could help me? from random import randint lista_palavras =…
pythonasked Maycon Willian Alves da Silva 75