Skip to content

Commit 94d5092

Browse files
committed
done required changes
1 parent 7119b86 commit 94d5092

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

Diff for: PyGamesScripts/Rolling Dice/Images

-2
This file was deleted.

Diff for: PyGamesScripts/Rolling Dice/Images/Screenshot_1.jpg

70.2 KB
Loading

Diff for: PyGamesScripts/Rolling Dice/Images/Screenshot_2.jpg

94.8 KB
Loading

Diff for: PyGamesScripts/Rolling Dice/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ Rolling dice Game is a python program i.e, developed in python programming lang
88
- Just run the program and enter any number from 1 to 6.
99
- According to the condition the user will get a message of winning or loosisng the game..
1010

11-
![Screenshot_1](https://user-images.githubusercontent.com/84957152/122930579-baa09b00-d389-11eb-8440-c668f5d77733.jpg)
12-
![Screenshot_2](https://user-images.githubusercontent.com/84957152/122930600-bf654f00-d389-11eb-99fe-603e55f21774.jpg)
11+
![screenshot](Images/Screenshot_1.jpg)
12+
![screenshot](Images/Screenshot_2.jpg)

Diff for: PyGamesScripts/Rolling Dice/Rolling_Dice.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33

44
die2 = int(input("Enter a value from 1 to 6:"))
55

6-
print(die1, die2)
6+
print(die1, die2) #prints the value of die
7+
8+
print(die1 + die2)#prints the sum of the numbers
79

8-
print(die1 + die2)
910

1011
if (die1 + die2) %2==0:
1112
print("You win!")

Diff for: PyGamesScripts/Rolling Dice/requirement.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Libraries inclued : random

0 commit comments

Comments
 (0)