print('Please enter some text:')
x = input()
print('Text entered:', x)
print('Type:', type(x))
output:
Please enter some text:
anil
Text entered: anil
Type: <class 'str'>
type is used for find the catagory of the given input
x = input()
print('Text entered:', x)
print('Type:', type(x))
output:
Please enter some text:
anil
Text entered: anil
Type: <class 'str'>
type is used for find the catagory of the given input
No comments:
Post a Comment