0
a=input('Enter no. = ') if a > 10 print('Ok') if a <= 10 print('Not ok')
What is the error ?
2 odpowiedzi
+ 4
Anushka Jangra ,
both of your if ... conditionals need to have a colon ":" at the end of the line
+ 2
Because you need parsed "a" to integer
a = int(input('Enter no. = '))