Keyword to catch an error:, catch, except, exception, recover, error, Multiplication operator:, +, x, ×, *, **, Keyword to define a new function:, define, create, new, def, Correct syntax to initiate a new Object:, MyObject = new <class-name>, MyObject = <class-name>, MyObject = <class-name>(<params>), Index of last item in string:, -0, MAX, -1, Correct import syntax (3 are correct):, inport <module-name>, import <module-name>, import <module-name> as <name>, from <module-name> import <name>, MyImport = import <modeule-name>, Correct string formatting syntax (2 are correct):, MyString = "1: {var1} \n 2: {var2}", MyString = f"1: {var1} \n 2: {var2}", MyString = "1: {} \n 2: {}".format(var1,var2), MyString = "1: "var1"\n"2: "var2, Correct selection to check if something is a number:, if MyVar == int():, if MyVar == .isdigit:, if MyVar == .isdigit():, if MyVar.isdigit():, What kind of language is python?, Assembly, Compiled, Interpreted, What extension do python files end in?, .pyp, .python, .txt, .py

Visual style

Show all

Activity settings

Leaderboard

Switch template

Continue editing: ?