0 of 8 Questions completed
Questions:
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
0 of 8 Questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
def my_func():
num = 10
my_func()
print(num)
def add_numbers(x, y):
return x + y
print(add_numbers(10, 5))
def area_of_rectangle(length, width = 2):
return length * width
print(area_of_rectangle(5, 4))
def area_of_rectangle(length, width = 2):
return length * width
print(area_of_rectangle(5, 4))
def display_results():
print(score)
score = 23
display_results()
def my_func1(x):
print('In func1: ' + str(x))
my_func2(x)
def my_func2(x):
x = x + 2
print('In func2: ' + str(x))
points = 5
my_func1(points)
score = 23
def increment_score():
score = score + 1
print(score)
increment_score()
print(score)
def get_value():
return 10000
x = get_value()
print(x)
x = get_value()
print(x)