Comp 151 Project 1

A simple introductory project

Summary:

This introductory project will get you used to writing programs on your own

Due:

  Wednesday Sept 20th at 11:59pm.


Description:

You will write a python program which calls a function which will do the following things:
    1. ask the user for 12 game results (the user will enter 1 for a win or  0 for a loss)
    2. keep a running total of the number of victories
    3. After all of the results are submitted, find the win percentage
    4. report that win percentage to the user

At this early stage assume that the user will enter the data correctly (see below for directions on the comments)

Additional  requirements:

Your function cannot be more than 7 lines of code (comments don't count, nor do blank lines.) You must use a loop.

To help me identify your work, make the name of your program file

yourFirstInitialLastNameLab1.py

(so mine would be JSantoreLab1.py)
And put the following at the beginning of the program as a comment:


Project Submission

Submit your project via blackboard. For this first project the python file by itself is all you need to submit.