0

What is the problem with this code??Not getting proper output

https://code.sololearn.com/cn4C8dh1g5nv/?ref=app

2nd Apr 2020, 3:28 AM
Alen Antony
Alen Antony - avatar
2 Answers
+ 3
input() returns a string. convert it to integer (or float). x = float(input()) You'll need to do this conversation for other input in your code.
2nd Apr 2020, 3:39 AM
šŸ‡®šŸ‡³OmkaršŸ•‰
šŸ‡®šŸ‡³OmkaršŸ•‰ - avatar
+ 2
Thanks
2nd Apr 2020, 3:50 AM
Alen Antony
Alen Antony - avatar