Skip to content

Commit 9a207b3

Browse files
Update Taking input from user.py
1 parent 7212dd3 commit 9a207b3

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Taking input from user.py

Lines changed: 3 additions & 5 deletions
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)