0

print (num:=input( " enter a num:")) if int(num)> 5: print (":》\n")

why doesn't work?

19th Mar 2022, 9:56 PM
Hoda
2 Answers
+ 2
Save code in playground and share link here... Code truncated and python need proper indentation which can't identified by just code pasting ...
19th Mar 2022, 9:59 PM
Jayakrishna 🇮🇳
+ 2
ahh ,thank you my problem is now gone!
19th Mar 2022, 10:11 PM
Hoda