What will be the correct output of the following Python language code?
def ps(a,b = 2):
return a + b
a=8
s1 = 1
i = 1
while i <= a:
s1 = s1 + i *2
i = i+1
print(ps(a=1) + ps(a=1, b=3)+s1)
Correct Answer:
80
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Python MCQ Questions