Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- admin = "admin"
- password = "pas123"
- count = 3
- while (count >0):
- user = input("Masukkan username anda : ")
- psw = input("Masukan password anda : ")
- if user == admin and psw == password:
- print("Anda berhasil login")
- break
- else:
- print("username dan password anda salah")
- count-=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement