Posts by Danilo Sampaio • 39 points
3 posts
-
1
votes5
answers11566
viewsA: How to find the type of a variable given by the user?
use the isinstance() function. Ex, I want to check something the user typed, if it’s an integer to select some option, just: valor = input("Digite um valor inteiro") // usuario digita "a"…
-
-1
votes1
answer40
viewsQ: Program only works once
Talk guys, I’m uncrossing python and I’m putting together a simple program that will gradually divide the modules, add treatments etc... The problem is this: in the code below, the program only…
-
0
votes1
answer196
viewsQ: Problems with Nan Return in Javascript
Personal in my code a simple calculator (not yet completed), my variable resultado when displayed always shows NaN, I wish you could help me fix this problem, I’m not finding the reason for the is…