Skip to content
This repository was archived by the owner on Apr 24, 2025. It is now read-only.

Commit 43f6ab1

Browse files
committed
Fix code style issues with Black
1 parent ceaa6ac commit 43f6ab1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

projects/Coin Flip/coinflip.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
import random
22
import os
33

4+
45
def toss_coin():
56
list1 = ["heads", "tails"]
67
return random.choice(list1)
78

9+
810
def main():
911
while True:
1012
# Clears the shell/terminal (where all the text is)
@@ -31,6 +33,7 @@ def main():
3133
if answer_y.lower() != "yes":
3234
break
3335

36+
3437
if __name__ == "__main__":
3538
main()
3639

0 commit comments

Comments
 (0)