Sesiones de PyR
can someone tell me how to make it impossible for a user to type a 'userchoice1[x]' value that does not range from 1 - 10.
If you also know a way I can make the user input another value for the 'userchoice1[x]' variable if it is less than 1, I'll appreciate you share the knowledge with me.
please see the short code below
1 Voto
2 RespuestasHow can I make a reference for a list of variables. If false i want the system to check through all my variable to make sure they are false.
Code-
var2 = "Tanner"
var3 = "Jake"
question = input('What is your name? ')
if question == var2:
print('\nWelcome Back Tanner!')
if question == var3:
print('\nWelcome Back Jake!")
if question !=( This is where i need help!)( Is the != the correct way to write not equal?)
0 Votos
4 RespuestasC SHARP PROBLEM
1 Voto
2 RespuestasEn tendencia hoy
What is problem in this code
0 Votes
playground input
0 Votes
Software developer
0 Votes
Activities on sololearn
0 Votes
How I can use div
0 Votes
Html issue
0 Votes
TIPS From Veterans
1 Votes
Playground input
0 Votes