Helena Blog
Friday, 12 July 2013
Learing Virables and Datatype
# my variables
body="clothes"
print body
water='fish'
print water
rice='pan'
print rice
x=0.5
print x
# my tip calculator
pizza=17.40
tax=0.03
tip=0.15
lunch=pizza+pizza*tax
payment=lunch+pizza*tip
print payment
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment