Names, Types, Values
Fill in only during class participating with other students.
Sign in to Google to save your progress. Learn more
Which of the following String expressions sets variable s to have the value "funfunfun". Check each one that does. *
Required
What is the type of the expression 34/5.0 in Python 2.7? *
What is the type of the Python expression 35 + 7 > 50 *
Use this code fragment to answer the next two questions. Assume that the URL is accessible
source = urllib2.urlopen("http://www.cs.duke.edu/csed/data/poe.txt")
s = source.read()
words = s.split()
total = len(s)
all = len(words)
What is the Python type of the variable s in the code above? *
What is the value of the expression total > all for the variables defined in the code above? *
Names and Netids below
Names (first and last, comma separated) *
netid *
netid (optional, additional person)
netid (optional, additional person)
netid (optional, additional person)
Submit
Clear form
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google. Report Abuse - Terms of Service - Privacy Policy