mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-12-23 11:12:48 +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")
|