Adaptive Practice

Python Basics

8 questions • Earn up to 79 XP • First attempt — go for 100%!

0
XP
0
Correct
x1
Combo
Question 1 of 8 ⏱ 0:30
Easy
What is the correct way to print 'Hello, India!' in Python?
Easy
Which of the following is a valid variable name in Python?
Easy
What will be the output of the following code? x = 5 print(x + 3)
Easy
Which symbol is used to start a comment in Python?
Medium
What data type will the variable 'score' have after the following code? score = '100'
Medium
Which of the following is the correct way to get input from a user in Python?
Medium
What will be the output of this code? print(type(3.14))
Hard
Consider the code: x = 10 if x > 5: print('Big') else: print('Small') What will be printed?

Loading...

Hey! 🔥 Your 7-day streak is at risk. Complete one quick quest today?

Streak broken? No worries. Recover with bonus XP by completing a quest now.