Skip to content

Commit 6bdde7d

Browse files
Merge pull request avinashkranjan#2963 from avinashkranjan/deepsource-transform-db19c723
format code with autopep8
2 parents 72147bd + ce056b3 commit 6bdde7d

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)