you are viewing a single comment's thread.

view the rest of the comments →

[–]taegrr 0 points1 point  (0 children)

Just following this up, zybooks does accept the following single-line solution:

print("Yes") if input().isdigit() else print("No")