Skip to content

Commit ce056b3

Browse files
style: format code with autopep8
Format code with autopep8 This commit fixes the style issues introduced in b53c8ed according to the output from Autopep8. Details: None
1 parent cd20865 commit ce056b3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
import inflect
22
from textblob import Word
33

4+
45
def main():
56
u = input("Enter a word: ")
6-
7+
78
p = inflect.engine()
89
pl = p.plural(u)
9-
10+
1011
s = Word(u).singularize()
11-
12+
1213
print(f"You entered: {u}")
1314
print(f"Singular form: {s}")
1415
print(f"Plural form: {pl}")
1516

17+
1618
if __name__ == "__main__":
1719
main()
18-
19-

0 commit comments

Comments
 (0)