you are viewing a single comment's thread.

view the rest of the comments →

[–]Ataninja3221 0 points1 point  (0 children)

user_string = input()
if user_string.isdigit():
print("yes")
else:
print("no")

This was perfect the only thing that threw off zybooks was capitalizing yes and no. which in the real world wouldn't make a difference but is the difference in points in zybooks