A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.geeksforgeeks.org/quizzes/python-input-output/ below:

Quiz about Python Input Output

Find the output of the below python code:

Python
print("GFG ")
print("Hello")

Find the output of the below python code, for x=5 and y= 5

Python
x = input()
y = input()
print(x+5)

Find the output of the below python code, for x=1.5

Python
x = int(input())
print(x)

Find the output of the below python code for x=2

Python
x = float(input())
print(x)

What will happen if a user enters a non-numeric value in the following code?

Python
age = int(input("Enter your age: "))
print("You are", age, "years old")

Which of the following statements is used to display a user-inputted message followed by a new line?

There are 6 questions to complete.

Take a part in the ongoing discussion


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4