Question: BIS 2 0 1 3 Assignment 3 ( 5 5 pts . ) Please complete the following programming tasks using Python in VS Code. Make

BIS2013
Assignment 3(55 pts.)
Please complete the following programming tasks using Python in VS Code. Make sure to save all your code as ONE Python file. For all questions, please use comments to explain vour code per functional block (such as a for loop or an if statement). You may use the screenshot below as a reference for organization purposes.
A Template:
```
File Edit Format Run Options Window Help
#Al. Q1
print('This is Ql.')
#Your answer to Ql
#A1. Q2
print('')
print('This is Q2.')
#Your answer to Q2
```
Question 1: Create a program that reads a list of rules from a file and displays them. (10 pts .)
```
Pig Dice Rules:
* 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.
```
(1a) A text file named rules.txt is provided.
(1b) Your program should read this text file and display it in the terminal line by line.
BIS 2 0 1 3 Assignment 3 ( 5 5 pts . ) Please

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!