Posts by João Ricardo • 65 points
5 posts
-
3
votes1
answer59
viewsQ: Create a key/value association from user-informed data
8) Write an algorithm capable of receiving a variable amount of parameters that are associated with a key. Then print on the screen the name of the key and its value: def…
-
-2
votes3
answers2637
viewsQ: Check if value is string or number
10) Make an algorithm that checks whether a given value is a String. valor = str(input("Informe um valor: ")) if(type(valor) == str): print("É uma String!") In Pycharm IDLE or Python Console, type:…
-
1
votes1
answer448
viewsQ: prime numbers from 0 to 10 in mysql
Good afternoon, I’m having trouble with this Mysql question: Show the name of the animals and the breed code. Just show the animals that contain in their respective code a prime number from 0 to 10.…
-
1
votes1
answer371
viewsQ: Doubt in Toast.makeText(this, ...)
This is the same code as a previous doubt, but now my question is another. In the Toast.makeTest(this, msg, Toast.LENGTH_SHORT); gives the following error when compiling, I believe that because of…
-
1
votes1
answer62
viewsQ: What code do I use to create a Validate class on Androidstudio?
I want to create a class to check the 2 fields EditText are filled, called Validacao. I wanted to call like: if (Validacao(TextoA, TextoB) == true) { executa código; I don’t know what the class code…