0
What is the error in this code
x=int(input('enter values :')) if x<=10 : print ('''condition true''') else : print ('''invalid''')
2 Réponses
0
How can I command the user to enter value as choice
0
Ajay
If by values you mean numbers, you can't command anybody to enter anything😃😃
The best thing you can do is use a try and except block.