Which function converts the user's input to a number without a decimal?
A float()
B int()
C print()
D string()
Answers
Answered by
1
Answer:
The answer is the second option which is int()
Python uses this function to convet strings into Integer format and the input from user end is taken through input() function and input function returns the data in the form of string.
Similar questions
Computer Science,
3 months ago
History,
3 months ago
Math,
7 months ago
English,
11 months ago
English,
11 months ago