Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6bdde7d

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

File tree

Expand file treeCollapse file tree

1 file changed

+5
-5
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-5
lines changed
Open diff view settings
Collapse file
+5-5Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.