Computer Applications
Which of the following allow you to take input from user ?
- raw_input( )
- enter( )
- eval( )
- input
Python Funda
3 Likes
Answer
raw_input( ) and input
Reason — raw_input( ) and input() functions allow us to take input from user.
Answered By
3 Likes
Related Questions
Which of the following is not a legal type in Python ?
- Integer
- String
- List
- Generic
Which of the following functions will you use to find out the type of a variable ?
- datatype( )
- type( )
- typeof( )
- dtype( )
To convert input received via raw_input( ) of Python 2.x in a numeric type, which of the given functions can be used ?
- convert( )
- float( )
- int( )
- No conversion required as input is already in desired form.
To convert input received via input( ) of Python 2.x in a numeric type, which of the given functions can be used ?
- convert( )
- float( )
- int( )
- No conversion required as input in already in desired form.