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
English,
3 months ago
Biology,
3 months ago
Accountancy,
7 months ago
Math,
7 months ago
Math,
1 year ago
Social Sciences,
1 year ago