Skip to content

Commit 54f3762

Browse files
Removing deprecated keywords (raw_input())
Replacing deprecated keywords (raw_input()) with appropriate Python 3 keywords.
1 parent 025863a commit 54f3762

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Strings/Capitalize.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
#
2323
# Hello World
2424

25-
userInput = raw_input()
25+
userInput = str(intput())
2626

2727
l = userInput.split(" ")
2828

2929
for i in l:
30-
print i.capitalize(),
30+
print (i.capitalize())

0 commit comments

Comments
 (0)