accept user input in python
#Take Integer Value
nval=int(input("Enter a number : "))
#Take String Value
sval=input("Enter a string : ")
#Take float value
fval=float(input("Enter a floating-point number : "))
accept user input in python
#Take Integer Value
nval=int(input("Enter a number : "))
#Take String Value
sval=input("Enter a string : ")
#Take float value
fval=float(input("Enter a floating-point number : "))
python print user input
name = input("Hi! What’s your name ? ")
print("Nice to meet you " + name + "!")
age = input("How old are you ? ")
print("So, you are already " + str(age) + " years old, " + name + " !")
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us