Computer Science, asked by beethi04, 9 months ago


Write an algorithm to input a number and check whether it is a 3-digit number or not.

Answers

Answered by TheArkhamKnight
4

Answer:

In Python:

num = input("Enter your number: ")

if len(num) == 3:

   print("Three Digits.")

elif len(num) ==3:

   print("Not Three Digits")

Explanation:

Similar questions