Community Data Science Workshops (Fall 2014)/Day 0 tutorial: Difference between revisions

no edit summary
imported>Jtmorgan
 
imported>Mako
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1:
{{CDSW Moved}}
 
Welcome to the Friday tutorial!
 
Line 7 ⟶ 9:
a = "Hello"
 
you should type the expression at a '''Python''' prompt, hitting Return after every line and noting the output.
 
No copying and pasting! You'll learn the concepts better if you type them out yourself.
Line 224 ⟶ 226:
len("Hello")
len("")
fish = "humuhumunukunukuapuaʻahumuhumunukunukuapua'a"
name_length = len(fish)
fish + " is a Hawaiian fish whose name is " + str(name_length) + " characters long."
Anonymous user