+ 2
Why this code is error when I give positive integer?
a = input ('Enter a positive number:') a = int(a) if a > 0: a = m print(m) else : print('Wrong Input')
2 Antworten
+ 11
Your error this
a = m ❌
m = a ✔️
+ 1
Yeah, I have got. Thanks buddy..
a = input ('Enter a positive number:') a = int(a) if a > 0: a = m print(m) else : print('Wrong Input')