Advertisement
Guest User

Authentification

a guest
May 6th, 2017
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.42 KB | None | 0 0
  1. #coding:utf-8
  2.  
  3. username = "Neeroz"
  4. password = "password123"
  5.  
  6. while usernameID != username and passwordMDP != password:
  7.     usernameID = input("Entrez votre nom d'utilisateur: ")
  8.     passwordMDP = input("Entrez votre mot de passe: ")
  9.  
  10.     if usernameID == username and passwordMDP == password:
  11.         print("Bienvenue,", username)
  12.         break
  13.     else:
  14.         print("Veuillez réessayez!")
  15.  
  16. print("Authentification réussie à partir de là...")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement