mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-20 01:59:24 +01:00
14 lines
233 B
Python
14 lines
233 B
Python
|
"""
|
||
|
Sovellus tekee yksinkertaisen salasanatarkistuksen if:illä
|
||
|
"""
|
||
|
|
||
|
koodisana = "python"
|
||
|
|
||
|
print("Tervetuloa")
|
||
|
syote = input("Anna salasana: ")
|
||
|
|
||
|
if syote == koodisana:
|
||
|
print("Matka voi alkaa")
|
||
|
else:
|
||
|
print("Yritä uudelleen")
|