A program with variables.
a. Which value does the following program print out?
number1 = 2number2 = 3number3 = 4average = (number1 + number2 + number3)/3print (average)
b. Start IDLE, and test the Python program above.
c. Save it as "Average_FirstName.py” and upload it to MyCC.
A program with variables. a. Which value does the following program print out? number1 = 2 number2 = 3 number3 = 4 avera
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am