Write conditional expressions for
If a < 10 b =20, else b = 30
Print 'Morning' if time < 12, otherwise print 'Afternoon'
if a < 10: b =20 else: b = 30 if time < 12: print("Morning") else: print("Afternoon")
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Thanks
Comments
Thanks
Leave a comment