21st Mar 2020, 4:28 PM
Gaurav Chanda
Gaurav Chanda - avatar
2 Respostas
+ 4
String should be converted to int to compare it with 5 line#2 should be if int(x) > 5 :
21st Mar 2020, 4:33 PM
andriy kan
andriy kan - avatar
+ 3
input() returns a string you need to convert it to int. Which is int(input())
21st Mar 2020, 4:32 PM
你知道規則,我也是
你知道規則,我也是 - avatar