prog1 - c=str((4/4)+(4/4)+(4/4)) print"My...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
# These variables represent the numbers in the list. # I changed them to strings so I get around the int + string error a=str(4/4) b=str((4/4)+(4/4))
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: c=str((4/4)+(4/4)+(4/4)) print"My three favorite sports are:" print a+". Football" print b+". Basketball" print c+". Baseball"...
View Full Document

This note was uploaded on 02/21/2010 for the course ECS 40175 taught by Professor Amenta during the Fall '09 term at UC Davis.

Ask a homework question - tutors are online