Skip to content

Commit bd535bc

Browse files
Adding the input function to get user's name
1 parent 03d9a1f commit bd535bc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
print("hello python world!")
1+
name = input("What is your name?")
2+
print("hello " + name + "!")

0 commit comments

Comments
 (0)