Answered by : ruukasu
#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')
Source : | Last Update : Sun, 16 Aug 20
Answered by : iamatp-on-scratch
#String
input("Type: ")
#Integer
int(input("Number: "))
#Float
float(input("Decimal Number: "))
Source : | Last Update : Sat, 02 Jul 22
Answered by : condemned-crocodile-c0ndk526jutk
# 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}")
Source : | Last Update : Fri, 29 Oct 21
Answered by : rubel1130
#basic user handling for begginers
x = input("your question here") # when someone types something here that answer will be saved and be used for later
# for example
print(x)
Source : | Last Update : Wed, 01 Apr 20
Answered by : disturbed-dingo-t9xfcqok1sky
# Python program showing
# a use of input()
val = input("Enter your value: ")
print(val)
Source : https://www.geeksforgeeks.org/taking-input-in-python/ | Last Update : Sat, 19 Mar 22
Answered by : terrible-tern-1n1k13g2wwmm
#The input command will popup/print the text placed inside the brackets.
#After the text you can type anything and press enter.
#Then the stuff written in the ansfer field will be saved as the function value.
x = input("write anything after this: ")
print(x)
#This code will first print the stuff written in input (write anything after this:).
#Then it will store the text as the x value.
#Then it will print it.
Source : | Last Update : Fri, 14 May 21
Answered by : colorful-capuchin-iqnq3d58wggm
#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')
Source : | Last Update : Sat, 14 Nov 20
Answered by : colorful-capuchin-iqnq3d58wggm
# Input statements are used to ask questions to the user
text = input("Enter your name: ")
# printing the variabale
print(text)
Source : | Last Update : Mon, 21 Dec 20
Answered by : condemned-chamois-ih6pb89baaos
l=list(map(int,input().split()))
Source : | Last Update : Sun, 04 Jul 21
Answered by : hussein-asadi
Username = input("Please enter your name:")
print(Username)
if Username != str: print("You are not using Letters")
Source : https://www.github.com/husseinpenart | Last Update : Mon, 16 May 22