Computer Science, asked by galaxy15, 5 months ago

Program 5:- Write a program to enter digits instead of characters.

Answers

Answered by 0RPS0
3

print ( ' Please Enter the Number: ' )

X = input ( )

print ( ' Entered Number is: ' , X )

print ( ' Type of X is: ' )

print ( type ( X ) )

*Output*

Please Enter the number:

60

Entered Number is: 60

Type of X is:

<class 'str'>

Similar questions