Skip to content

Commit 22598a7

Browse files
Merge pull request #3 from HACKERmpython/patch-2
Update Taking input from user.py
2 parents 7212dd3 + 9a207b3 commit 22598a7

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Diff for: Taking input from user.py

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
print("What is your name")
2-
name = input()
3-
print("Where are you from")
4-
place = input()
5-
print("Hi",name+" from",place+" have a good day.")
1+
name = input(print("What is your name")).strip().Title()
2+
place = input(print("Where are you from")).strip().Title()
3+
print("Hi",name+" from",place+" have a good day.")

0 commit comments

Comments
 (0)