Skip to content
Snippets Groups Projects
Commit 0fe1b79d authored by Anna Meyer's avatar Anna Meyer
Browse files

lec 16 materials

parent 81e0a4ba
No related branches found
No related tags found
No related merge requests found
Showing
with 3149 additions and 0 deletions
{"meena": 20, "viyan": 30, "rogers":40}
File added
{'meena': 20, 'viyan': 30, 'rogers':40}
{"meena": 20, "viyan": 30, "rogers":40,}
{"meena": false, "viyan": true, "rogers":false}
{"meena": False, "viyan": True, "rogers":False}
{"meena": None, 10: 20, "rogers":10}
import random
with open('short.txt', 'w') as f:
for i in range(10):
f.write(str(random.randint(0,100)) + "\n")
with open('nums.txt', 'w') as f:
# generate 50 million numbers between 0 and 100
for i in range(50000000):
f.write(str(random.randint(0,100)) + "\n")
\ No newline at end of file
Hello CS220 / CS319 students :)
Hope you are having a wonderful day!
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment