Set questions & answers passed (3)
What is used to define a block of code in Python? - correct answer ✔✔Indentation
Identify the Python comment. - correct answer ✔✔3. # Some comment.
Which one of the following is the correct extension of the Python file? - correct answer ✔✔.py
What is the special symbol used in python to add comments? - correct answer ✔✔#
How to output the string 'Hello' in Python? - correct answer ✔✔print('Hello')
What is the proper shebang to indicate the script is using Python version 3? - correct answer
✔✔#!/usr/bin/env python3
A data structure that can't be changed after its creation is known as _____? - correct answer
✔✔immutable
Which of the following statements are true? - correct answer ✔✔Python code is structured and
indented blocks must be used
Which of the following lines represents a valid comment? - correct answer ✔✔# print('Content')
A data structure where the type or the class is less important than the methods it defines is known as
what? - correct answer ✔✔duck-typed
An operation that modifies a variable without making a copy is known as .... - correct answer ✔✔in-
place operation