# working with strings
brain="always look on the bright side of life"
print brain
Sunday="i spent my Sunday very well at my church"
print Sunday
uncle="Johnson"
aunty="hawa"
brother="henneh"
print aunty
quote="our trainer\'s health has been restored!"
print quote
rose="i\'m sad that sau\'s school is close"
print rose
print "python"[4]
print "yarkpawolobuluka"[10]
#working with string methods
par not="Norwegian Blue"
print Len(par not)
small_letter=par not.lower()
print small_letter
big_letter=small_letter.upper()
print big_letter
pi=3.4
total=str(pi)
print total
# working with advance print
breakfast="spam" + " and " + "egg"
print breakfast
uncle="Johnson"
print "my father brother is" + uncle
Monday, 22 July 2013
Friday, 12 July 2013
learning variables in datetype
#my variables
cup="water"
print cup
room="chair"
print room
house="people"
print house
rose="sackie"
print rose
tree="apple"
print tree
father="son+daughter"
print father
money="credit"
print money
month="may"
print month
#my type calculator
pizza=17.40
tax=0.03
tip=0.15
lunch=pizza+pizza*tip
payment=lunch+pizza*tip
print payment
cup="water"
print cup
room="chair"
print room
house="people"
print house
rose="sackie"
print rose
tree="apple"
print tree
father="son+daughter"
print father
money="credit"
print money
month="may"
print month
#my type calculator
pizza=17.40
tax=0.03
tip=0.15
lunch=pizza+pizza*tip
payment=lunch+pizza*tip
print payment
Wednesday, 10 July 2013
welcome to my blog
By the way i an miss Rose S. Sackie, live in Liberia with my parent. I was born unto the union of Mr & Mrs sackie, on February 3,1992. Alone with one sister.
Subscribe to:
Posts (Atom)