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
Math,
3 months ago
Computer Science,
3 months ago
English,
3 months ago
Accountancy,
6 months ago
Math,
6 months ago
Math,
11 months ago
Social Sciences,
11 months ago