local scopes can only be accessed within whatever clause they are in
If a line of code has an indentation in front of it, what does that mean?
It is inside a clause
What are nested loops
loops within each other
An input
Give an example of a local scope
a variable within a function
True or False: Indents can used to classify scopes
True
10%3
1
What is the difference between a parameter and an argument
Nothing
how do you tell where a global variable is compared to a local variable?
If your editor does not support the [Tab] key for some reason, how many spaces is an indent?
4
How do I check if a number is odd or even in python?
Use the " % " operator
Is there a limit to how many parameters your function can take (Considering your computer is powerful enough to handle it)
No
a=20
def repair(part):
a=10
print(a)
20
If a line of code has three indents in front of it, how many if-statements could it be in?
3
(1+2==5) and (1+2==3 or "a"=="a")
false
def repair(part)
print("This part is repaired"+part)
Nothing will happen