Author Topic: Arithmetic  (Read 2368 times)

0 Members and 1 Guest are viewing this topic.

Charles Pegge

  • Guest
Arithmetic
« on: October 02, 2010, 09:28:11 PM »

Code: [Select]
float tot, average

tot= 1 2 3 4 5 6 7 8
avg=tot/8

print "Total: " tot "   Average: " avg