Exercise 9 · Chapter: Linear ProgramsOptional+50 XP
Fix the Order
The lines in this program are in the wrong order. Rearrange them so it works!
Expected output:
Total: 15
Need a hint?
3 available · costs 5 XP each
python
print("Total:", total)
total = a + b
a = 7
b = 8
Output
Run your code to see the output here.