+ 1
Being Left With Tens
Hey guys, I got a little porblem. I've written my code like this: x = int(input()) print(x/10) And I thought it would tell me the tens in a 2 digit number but the checking script says the code is wrong. Do you guys have any suggestions?
2 Answers
+ 2
The checking script probably expects an integer, not a float.
+ 1
from my perspective the code is right.The output would be decimal number.The playgroud doesn't work well.I checked in QPython and it works perfect.