"Adapted from John DeNero's CS61A Introductory Python Demo"
denero_url = "https://youtu.be/2SopsFYlGr4?list=PL6BsET-8jgYUD6BYw7Dp7EXteeDxcTaaT"
#Just setting everything up for the demo
from operator import add
from IPython.display import Image
from IPython.display import YouTubeVideo
youTube_url = "M1wMfOwlAZ8?t=4s"
#We can use our computer to do easy math!
2+2
#We can use our computer to do hard math!
7*7*7 + 7*7*7 + 11*11*11
#What else can a computer do?
print("Hello, World!")
#Shakespeare Demo
Image(url= "https://www.biography.com/.image/c_fill,cs_srgb,dpr_1.0,g_face,h_300,q_80,w_300/MTE1ODA0OTcxNzgzMzkwNzMz/william-shakespeare-194895-1-402.jpg")
shakes = open("shakespeare.txt")
text = shakes.read().split()
text[:25]
len(text)
text.count('the')
text.count("thou")
text.count("you")
text.count("forsooth")
text[:25]
text.count(',')
text.count(',')/len(text) * 100
YouTubeVideo( youTube_url )