Preparing your workspace...
Loading latest data

Learn what Python is, how to install it, write your first script, and run it using the Python interpreter. This task introduces core concepts like programming language basics, development environment setup, and the role of Python in modern tech.
Questions1.
What file extension is used for Python scripts?
Question2.
What keyword do you use to display text to the user?
Question3.
What is the name of the interactive mode where Python code is executed line by line?
Question4.
What command-line symbol does the Python shell show?
Question5.
What is the official website for Python documentation and downloads?
Question6.
Which command shows the current version of Python installed on your system?
Question7.
What type of programming language is Python?
Explore how Python relies on indentation to define code structure instead of braces or special keywords. Learn how to write clear, readable code by using proper indentation and documenting your logic with single-line and multi-line comments. Mastering these basics ensures clean and professional code.
Question1.
What defines the beginning and end of a code block in Python?
Question2.
How many spaces are typically used for indentation in Python?
Question3.
Which characters are commonly used for blocks in other languages but not in Python?
Question4.
Which symbol is used to write a single-line comment in Python?
Question5.
Which of the following is valid for creating a multi-line string or docstring in Python?
a) /* comment */
b) // comment
c) ''' comment '''
d) # comment
Question6.
Do comments affect how your Python code runs?
Learn how to declare, assign, and use variables in Python. Understand naming rules, dynamic typing, and how Python handles variable memory and types.
Questions1.
Which operator do you use to store data in a variable?
Question2.
Which of the following is a valid variable name?
a) @name
b) user_123
c) 123user
d) for
Question4.
What will be the output of the following code?

Question5.
Fill in the blank: To swap two variables in Python:

This feature is called ________.
Question6.
Which of the following is not a valid variable name in Python?
a) temp
b) class
c) value_1
d) _score
Understand how to use arithmetic, assignment, comparison, and logical operators to perform operations and control logic in Python programs.
Question1.
What operator is used for exponentiation (e.g., 2²)?
Question2.
What does 10 % 3 return?
Question3.
Which of the following expressions will return True?
a) 10 == '10'
b) 10 != 5
c) 3 > 5
d) 7 < 7
Question4.
What is the output of this expression:
True or False and False ?
Question5.
Which operator is used to compare identities?
Question6.
What is the output of 3 + 5 * 2?