Computer science project
Open Quick Links
Quick LinksPage Landmarks
-
Programming for Data Science (Fall 2019)
- Module 2: Control Flow
- Project 2: Playing the Lotto
- Announcements
-
WELCOME
- Module 0: Start here! (Setup)
-
RESOURCES
- Syllabus
- Schedule
- Course FAQ
- Office and Consulting Hours
- My Grades
- Email Professor
-
COURSE MODULES
- Module 1: Variables and Data Types
- Module 2: Control Flow
- Module 3: Text Analysis with Python objects
-
Attached Files:Project 2: Playing the Lotto
-
Project_2_EC.py
(451 B)
-
Project_2_Main.py
(114 B)
-
Project2_vN14.pdf
(205.725 KB)
-
Project_2.py
(1.226 KB)
For this project, you will create and correct a set of functions that simulate playing the lottery, and you will write a main program that makes use of your functions. The .pdf below contains the specifications for the project. Skeleton python files are provided in Project_2.py and Project_2_EC.py - you should not delete any of the def lines from this file - if you do not fill in a function definition, leave the word pass indented under that definition, and Project_2_Main.py - this file is for your main program.
Edited 9/23: You should not need to change order of lines for debugging. You may need to change indentation.
-
-
Video Showing how the Project Files work
This video shows you how the two project files should look (what they should and should not contain), how they work together, and how to run the project from the command line. Watch it - this is the #1 question about project 2, and the cause of a lot of problems.
Content Outline
Keyboard Shortcuts
Logout
Global Menu
Jerry ShenActivity Updates43
Top Frame Tabs
|