Question: 2a What is the output of the following python code? (5 points) grade = 80 def printgrade(): grade = 90 print(grade:, grade) printgrade() print(grade:,
2a What is the output of the following python code? (5 points) grade = 80 def printgrade(): grade = 90 print("grade:", grade) printgrade() print("grade:", grade)
Step by Step Solution
There are 3 Steps involved in it
The Program Output grade 90 grade 80 Explanation 1 Any variable created outside of any functio... View full answer
Get step-by-step solutions from verified subject matter experts
