Answer:
a. String
Explanation:
The input( ) function always returns a value of string type.
[tex]{\huge{\underline{\underline{\boxed{\orange{\mathscr{ Answer }}}}}}}[/tex]
The return type of the input() function is:
a. string
The input() function in Python always returns a string, regardless of what the user enters. If you need a different data type (such as an integer or a float), you would need to explicitly convert the input using functions like int() or float().
Copyright © 2024 EHUB.TIPS team's - All rights reserved.
Answers & Comments
Answer:
a. String
Explanation:
The input( ) function always returns a value of string type.
Verified answer
[tex]{\huge{\underline{\underline{\boxed{\orange{\mathscr{ Answer }}}}}}}[/tex]
The return type of the input() function is:
a. string
The input() function in Python always returns a string, regardless of what the user enters. If you need a different data type (such as an integer or a float), you would need to explicitly convert the input using functions like int() or float().