Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

ask a question on python

Question = input("your question")
if Question == ("yes")
	print ("well done")
elif Question == ("no")
	print ("try again")
Comment

how to ask a question in python

variable = input('How are you doing?')

#for a number response
variable1 = int(input('How old are you?'))
Comment

PREVIOUS NEXT
Code Example
Python :: pandas get index of max value in column 
Python :: how to create a tkinter window 
Python :: get current time python django 
Python :: Import "django.core.urlresolvers" could not be resolved 
Python :: drop first column pandas 
Python :: python dict exclude keys 
Python :: python sympy solve equation equal to 0 
Python :: to_csv drop index 
Python :: dynamo python templete 
Python :: typingclub hack python 
Python :: admin.tabularinline access values via a foreign key 
Python :: extract topic to csv file 
Python :: iterating over 2d array python 
Python :: python hash string 
Python :: python test if number in string 
Python :: annaul sum resample pandas 
Python :: read csv boto3 
Python :: how to show process bar in terminal python 
Python :: price for bazaar item hypixel python 
Python :: pandas join two columns 
Python :: python requests force ipv4 
Python :: python date + days 
Python :: how to use python to open camera app using python 
Python :: how to get total number of rows in listbox tkinter 
Python :: remove 0 values from dataframe 
Python :: tf tensor from numpy 
Python :: python zip lists into dictionary 
Python :: splittext py 
Python :: numpy take out elements equal to zero 
Python :: add element to heap python 
ADD CONTENT
Topic
Content
Source link
Name
9+5 =