Skip to content

Commit 6c8f4c1

Browse files
authored
Merge pull request #2 from rakesh38360/dev
random_number
2 parents 1cfec3e + 2db8896 commit 6c8f4c1

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

random_numbers.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import random
2+
3+
random_side = random.randint(0, 1)
4+
if random_side == 1:
5+
print("Heads")
6+
else:
7+
print("Tails")

0 commit comments

Comments
 (0)