Answer:
text = input("enter a value: ")
if text.isdigit():
print("yes")
Step-by-step explanation:
The program is written in python.
text = input("enter a value: ") This expression prompt the user to input a string value containing any form of character . The inputted character might be letters, digits etc.
if text.isdigit():
This check if the inputted value is a digit .
print("yes")
if the value is a digit the system will display yes.