+ 2

Python simple math

I think the part of the multiplication is ok but after that there is something that I don’t get it. https://code.sololearn.com/cDHh6i8IrN9k/?ref=app Thank you very much.

28th Aug 2020, 4:26 PM
Neo
3 Réponses
+ 2
I would check your indentations, make sure they're all aligned properly, the code seems to work, I don't understand the issue
28th Aug 2020, 4:33 PM
Steven M
Steven M - avatar
+ 3
Neo here is another way to eliminate duplicate input patterns and shorten your code. https://code.sololearn.com/cW0eMM7Igw2A/?ref=app
28th Aug 2020, 4:50 PM
BroFar
BroFar - avatar
+ 2
Line 11,19: Indentation mistakes Make the lines same alignment with first if condition.
28th Aug 2020, 4:36 PM
Vadivelan