in which format the input function read the user input?
String
Object
Boolean
Integer
Array
Answers
Answered by
0
Explanation:
The input is in the form of object
Answered by
1
Answer:
String
Explanation:
The input function converts all information that it receives into the string format as shown in below example for reference
Eg:
name = input('Enter Your name:')
age = input('Enter your age:')
print('DataType_name: ', type(name))
print('DataType_age: ', type(age))
Output:
Enter Your name:Chandra Shekhar
Enter your age:27
DataType_name: <class 'str'>
DataType_age: <class 'str'>
Similar questions
Hindi,
2 months ago
World Languages,
2 months ago
Accountancy,
5 months ago
Math,
5 months ago
Math,
9 months ago
Social Sciences,
9 months ago