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.
0%
Python
Share
Share
Share
by
18zqueralt
Secondary
Computing
Programming Fundamentals
Programming Techniques
Edit Content
Print
Embed
More
Assignments
Leaderboard
Show more
Show less
This leaderboard is currently private. Click
Share
to make it public.
This leaderboard has been disabled by the resource owner.
This leaderboard is disabled as your options are different to the resource owner.
Revert Options
Airplane
is an open-ended template. It does not generate scores for a leaderboard.
Log in required
Visual style
Fonts
Subscription required
Options
Switch template
Show all
More formats will appear as you play the activity.
)
Open results
Copy link
QR code
Delete
Continue editing:
?