Question: chapter 7 /how to work with file I/O i need help .. i dont understand.. python programming (code) Project 7-1: Pig Dice Rules Create a







chapter 7 /how to work with file I/O i need help .. i dont understand.. python programming (code)
Project 7-1: Pig Dice Rules Create a program that reads a list of rules from a file and displays them. Console Pig Dice Rules: t See how many turns it takes you to get to 20. * Turn ends when player rolls a 1 or chooses to hold. If you roll a 1, you lose all points earned during the turn. If you hold, you save all points earned during the turn. Specifications . Your instructor should provide a text file named rules.txt. . Your program should read the text file and display it on the console
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
