mirror of
https://github.com/arthur-pbty/nsi.git
synced 2026-06-03 23:36:19 +02:00
renamed files and exercise 1.2
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
identifiants = {
|
||||
"ale.lecouturier":"Huz4",
|
||||
"lea.martin":"monty"
|
||||
}
|
||||
|
||||
identifiant = input("Identifiant : ")
|
||||
motdepasse = input("Mot de passe : ")
|
||||
|
||||
if identifiant in identifiants and motdepasse == identifiants[identifiant]:
|
||||
print(True)
|
||||
else:
|
||||
print(False)
|
||||
Reference in New Issue
Block a user