Change Contents of the Bubble
Welcome to CS1315. Click on the python to add comments.

Looking for the book? They have it at the Engineer's Bookstore at 748 Marietta St NW. Here is there website: http://www.engrbookstore.com/ - Monica

Hotspots: Slides and CodeTA CornerComments?AnnouncementsFAQStatic Webspace
View this PageEdit this PageUploads to this PageHistory of this PageHomeRecent ChangesSearchHelp Guide

remainder and lists

What is the value….
	Assume x = 42 (hint: an integer)
	Assume primes = [2, 3, 5, 7]

x / 5
x % 5
len(primes)
primes + [11]
primes[1] == 2


(BTW, If you had an excused absence, this pop quiz won't count in your pop quiz average. I know that a bunch of athletes had excused absences, Feb 22.)

Ans 1: 42/5 is 8

Ans 2: 42 % 5 is 2

Ans 3: len(primes) is 4

Ans 4: primes + [11] is [2,3,5,7,11]

Ans 5: primes[1] == 2 is 0

Link to this Page