Skip to content

Instantly share code, notes, and snippets.

@jaronoff97
Last active May 15, 2016 23:58
Show Gist options
  • Save jaronoff97/6c88c16f0e09bfc346c76b6bdd265af6 to your computer and use it in GitHub Desktop.
Save jaronoff97/6c88c16f0e09bfc346c76b6bdd265af6 to your computer and use it in GitHub Desktop.
students = ["Jacob", "Sam", "Corey", "Michael"]
num = 0
while num < len(students):
print(students[num])
num += 1
for student in students:
print(student)
for num in range(0, 10):
print(num)
list = ["string1", 10, "string2", 100]
if 10 in list:
list.remove(list.index(10))
list.insert(3, 300)
for thing in list:
print(thing)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment