#Collecting The Input As A Variable:#
name = input('Please enter your name: ')
#Printing The Variable:#
print(name)
#Checking The Variable And Printing Accordingly:#
if name == 'Joe':
print('Joe Mama')
#String
input("Type: ")
#Integer
int(input("Number: "))
#Float
float(input("Decimal Number: "))
name = input("What is your name?
") # Asks the user 'What is your name?' and stores it in the 'name' variable
print("You said your name was " + name)
number = int(input("Please select a random number:
")) # Will get input as a number
# Will error if the value entered is not a number
# You can use any type of conversion (int(), bool(), float(), etc.) to modify your input
# The function 'input()' asks the user for input
myName = input()
# we make the input to take the name of user
name = input("inter your name : ")
# this input to take the age
age = input("inter your age : ")
# the print to say to user hi and this is your age
print(f"hi {name} your age is {age}")
name = input("Enter your name: ")
#Printing the variable (name)
print("hello",name)
# Python program showing
# a use of input()
val = input("Enter your value: ")
print(val)
x = input()
# This will take you to shell where you input a value for x
print(x)
# Print's the value you typed
y = input('Enter a number: ')
# Will print 'Enter a number: ' to the shell and then wait for you
# to enter a value (Does not have to be a number)
# Copy the code and try it
# use the function input()
# the parameter is something that would
# output on the screen before the input
name = input('What is your name?')
print('Hello ' + name)
answer = input("What is your name? ")
print(f"Your name is {answer}")
#Input in python
name = input('What is your name')
print('Hello'+ name + ' !')
#input or question, is used to ask question
ans = input('Who invented Microsoft?')
#An if statement
if(ans == 'Bill Gates'):
print('You got the answer')
# Input statements are used to ask questions to the user
text = input("Enter your name: ")
# printing the variabale
print(text)
# An input is requested and stored in a variable
test_text = input ("Enter a number: ")
# Converts the string into a integer. If you need
# to convert the user input into decimal format,
# the float() function is used instead of int()
test_number = int(test_text)
# Prints in the console the variable as requested
print ("The number you entered is: ", test_number)
l=list(map(int,input().split()))
Username = input("Please enter your name:")
print(Username)
if Username != str:
print("You are not using Letters")
x = input ("Enter a phrase: ") #after slecting variable and input command,
#you have to write that string what you want to show in your terminal as input.
print (x) #to get the answer
#for integer
x = int (input("How many candies: ") #make sure using round figure, ex: 1, 2,
print (x)
#for decimal
x = float (input ("My height: ") #you can also use DOUBLE function instead of FLOAT
print (x)
answer = input('Is 9+10 21? Y/N > ')
if answer == 'Y':
print('https://www.youtube.com/watch?v=UniPsEFWu3M')
if answer == 'N':
print('How dare you!')
name = input.("what is your name? ")
print("so youre name = " + name)
var = input("How are you: ")
print(var)
name = input("What is your name: ")
print(name)
if name == "Jeff":
print("My name Jeff")