Scientific Computing Using Python - PHYS:4905 - Fall 2018
Python Homework #3
Due 8/30/2018
Name _______________________________________________
1. (10) Write a Python program to play the simplified version of
Craps discussed in call. The program should keep rolling the
dice until you win or lose. The program should print out the
values of the two die for all the rolls. You will be graded on
the quality of your comments as well as that of your code.
This will be true for all future programming assignments in this
homework and all future assignments.
2. (10) Write a Python script to ask the user for an integer,
determine if it is a prime, and then inform the user.