Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python if

person = input("Nationality? ")
if person == "french" or person == "French":
    print("Préférez-vous parler français?")
if person == "italian" or person == "Italian":
    print("Preferisci parlare italiano?")
Source by python-course.eu #
 
PREVIOUS NEXT
Tagged: #python
ADD COMMENT
Topic
Name
6+8 =