mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-30 07:09:22 +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")
|