salary = 8000 def printSalary(): salary = 12000 print("Salary:", salary) printSalary) print("Salary:", salary) What is the output of the following code? O The program failed with errors O Salary: 8000...


salary = 8000<br>def printSalary():<br>salary = 12000<br>print(

Extracted text: salary = 8000 def printSalary(): salary = 12000 print("Salary:", salary) printSalary) print("Salary:", salary) What is the output of the following code? O The program failed with errors O Salary: 8000 Salaray: 12000 O Salary: 8000 Salary: 20000 O Salary: 12000 Salary: 8000

Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here