0

I have an homework

there is some rules and i should write codes with if else code words. who can help me?

7th Mar 2017, 1:32 PM
Abdullah Pala
Abdullah Pala - avatar
2 Answers
+ 6
x = 'woo' if you_passed: print(x) else: print(x + 'ps')
6th Apr 2018, 6:25 PM
Fox
Fox - avatar
0
a = 5 if a < 0: print('Negative number') else: print('Positive number')
12th Apr 2018, 5:53 PM
ă‚» ăƒŒăƒ“ăƒł
ă‚» ăƒŒăƒ“ăƒł - avatar