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 :: how to custom page not found in django 
Python :: python for loop with increment 
Python :: install quick-mailer 
Python :: find length of text file python 
Python :: python remove key from dict 
Python :: check pyenv version windows 
Python :: Converting uint8 into integers 
Python :: pandas cheat sheet pdf 
Python :: python pynput space 
Python :: return count of substring in a string 
Python :: print even numbers in python 
Python :: dataframe plot histogram 
Python :: python drop all variable that start with the same name 
Python :: django boilerplate command 
Python :: prime number python program 
Python :: convert list to nd array 
Python :: 2d dictionary in python 
Python :: python function returns function 
Python :: python to run another code on timer while a separate code runs 
Python :: python print show special characters 
Python :: how to make a string case insensitive in python 
Python :: pandas return specific row 
Python :: numpy sort 
Python :: remove last line of text file python 
Python :: how to remove all 2 in a list python 
Python :: Python Django Models Unique Rows 
Python :: string to bits python 
Python :: how to change size of turtle in python 
Python :: combine dataframes with two matching columns 
Python :: path in string python 
ADD CONTENT
Topic
Content
Source link
Name
8+3 =