0
What is the error in this code
x=int(input('enter values :')) if x<=10 : print ('''condition true''') else : print ('''invalid''')
2 Answers
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.