Solution 2 at 6:06
Title
Question
I think it is more appropriate to write Solution 2 as:
print(n) if n % 10 == 0 else print(10*n)
instead of:
print(n) if n % 10 == 0 else 10*n
Python-3.4.3 Conditional-Statements 06-07 min 0-10 sec
Answers:
Thank you for pointing out the code.
<span style="background-color: rgb(245, 245, 245);">yes it will be but if you writing your code on idle shell otherwise it will don't show output it will be blank</span>
<span style="background-color: rgb(245, 245, 245);">
</span>
</span>
Login to add comment