Continue editing: ?
What keyword defines a function in Python?, def, func, define, function, Which symbol starts a comment in Python?, /*, --, //, #, Which data type stores text?, integer, float, string, boolean, Which function prints output?, show(), echo(), print(), write(), What is the correct file extension for Python files?, .pyt, .pt, .py, .python, Which loop is used to iterate over a sequence?, repeat, foreach, loop, for, Which keyword is used for a conditional statement?, check, when, case, if, Which value represents truth in Python?, 1, true, True, TRUE, Which collection type uses square brackets?, dict, tuple, list, set, Which keyword imports a module?, load, include, import, using

Python Programming Quiz

Visual style

Show all

Activity settings

Leaderboard

AI Enhanced: This activity contains content generated by AI. Learn more.

Switch template