Skip to content

Commit c94d4d4

Browse files
committed
Updated code in input_function.py
1 parent 990137a commit c94d4d4

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

input_function.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
print("Second project code")
1+
input()
2+
name=input("what is your name?")
3+
print("Hello",name)
4+
input(123)#by default number as a string
5+
x=int(input("Enter a value:"))
6+
print("x =",x)
7+
print("Hello"+" "+input("What is your name?"))

0 commit comments

Comments
 (0)