Question: in python //1. What is the output of this program? 1 n = 18 Your answer: 2 score = 115 3 sum = 150 4
in python
//1. What is the output of this program? 1 n = 18 Your answer: 2 score = 115 3 sum = 150 4 sum += score 5 n -= 10 6 sum *=2 7 n = n/10 8 n -= score* 3; 9 total = n + score + sum; 10 print () 11 print (n,'t', sum ' ', score, ' ', total)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
