DATABASE FUNDAMENTALS
BASICS OF BIG DATA
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
input = (What is your name?)
|
|
input = What is your name?
|
|
output = ("What is your name?")
|
|
input("What is your name? “)
|
Detailed explanation-1: -The input() function gets user input (keyboard) and stores it into variable name. Here name is a variable. The print() function shows it to the screen. The user must press the enter key in the command line.
Detailed explanation-2: -Python user input from the keyboard can be read using the input() built-in function. The input from the user is read as a string and can be assigned to a variable. After entering the value from the keyboard, we have to press the “Enter” button. Then the input() function reads the value entered by the user.
Detailed explanation-3: -After entering the value from the keyboard, we have to press the “Enter” button. Then the input() function reads the value entered by the user.
Detailed explanation-4: -input() uses the function input to display a prompt and capture the user’s response.