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

Commit 41490e7

Browse files
committed
Fix code style issues with Black
1 parent 3864270 commit 41490e7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

projects/Coin Flip/coinflip.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def toss_coin():
99

1010
def main():
1111
while True:
12-
flag = False # Declaring a variable which will be used afterwards to break out of 2 nested while loops
12+
flag = False # Declaring a variable which will be used afterwards to break out of 2 nested while loops
1313
# at the same time
1414
# Clears the shell/terminal (where all the text is)
1515
os.system("cls")
@@ -38,11 +38,11 @@ def main():
3838
flag = True
3939
break
4040
elif answer_y.lower() == "yes":
41-
break # if answer_y is "yes" then break out of only the innermost while loop and start the game again
41+
break # if answer_y is "yes" then break out of only the innermost while loop and start the game again
4242
else:
4343
continue
44-
45-
if flag: # Checking if the flag variable is True
44+
45+
if flag: # Checking if the flag variable is True
4646
break
4747

4848

0 commit comments

Comments
 (0)