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

18 lines
565 B

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