Skip to content

Commit 71e88ec

Browse files
style: format code with autopep8
Format code with autopep8 This commit fixes the style issues introduced in 57fe6d4 according to the output from Autopep8. Details: None
1 parent bfb1e89 commit 71e88ec

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Random_State_Name_Generator/base.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import random
22

3+
34
def generate_state_name():
45
state_prefixes = ["Andhra", "Arunachal", "Assam", "Bihar", "Chhattisgarh", "Goa", "Gujarat",
56
"Haryana", "Himachal", "Jharkhand", "Karnataka", "Kerala", "Madhya", "Maharashtra",
@@ -14,8 +15,10 @@ def generate_state_name():
1415
state_name = random.choice(state_prefixes) + random.choice(state_suffixes)
1516
return state_name
1617

18+
1719
if __name__ == "__main__":
18-
num_names = int(input("Enter the number of unique state names you want to generate: "))
20+
num_names = int(
21+
input("Enter the number of unique state names you want to generate: "))
1922

2023
unique_state_names = set()
2124
while len(unique_state_names) < num_names:

0 commit comments

Comments
 (0)