25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

16 lines
534 B

#!/usr/bin/env python3
#title :4-2.py
#description :Opdracht 4.2 - If with 2 boolean operators
#author :Marcel Haazen
#email :marcel@haazen.xyz
#date :21-09-2019 - 23:20
#version :0.1
#usage :python3 4-2.py
#notes :
#python_version :3.7.4
#==============================================================================
age = input("Wat is je leeftijd: ")
pasport = input("Heb je een Nederlandse paspoort: ")
if age >= 18 and pasport == "ja":
print("Je mag stemmen")