Answer:
num_str = input("Enter an integer: ")
if num_str.isdigit():
print("Yes")
else:
print("No")
Step-by-step explanation:
In this software, the input() function is used to request the user to provide a string representing an integer. The input string is then called with the isdigit() method to determine whether each character is a digit. The application outputs "Yes" if the isdigit() method returns True. Otherwise, "No" is displayed by the application.
You can test it in Python or any open editor online and enter a variable such as 20 where it will output yes and enter say AZ or -650 and it will output no.