Created
March 24, 2017 16:02
-
-
Save TurkCraf/a7df382a52aeb36dfcb2626963928583 to your computer and use it in GitHub Desktop.
Python3 Kullanıcı Giriş Örneği
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Kullanıcı Giriş Sistemi | |
kullaniciadi = "Ahmet" | |
sifre = "1234" | |
print ("Sisteme Giriş Yapmak İçin Bilgilerinizi Giriniz!") | |
kull = input("Kullancı Adı :") | |
sif = input("Şifre :") | |
if kull == kullaniciadi and sif == sifre: | |
print("Giriş Başarıyla Yapıldı") | |
elif kull == kullaniciadi and sif != sifre: | |
print ("Şifrenizi yanlış girdiniz") | |
elif kull != kullaniciadi and sif == sifre: | |
print ("Kullanıcıadını yanlış girdiniz") | |
else: | |
print("Kullanıcı bilgileriniz yanlış lütfen tekrar deneyiniz") | |
print("-"*30) | |
print("Kullanıcı Adı",kullaniciadi) | |
print("Şifre:", sifre) | |
#şimdilik bu kadar kendiliğimden yazabiliyorum hayırlısı olsun diyerek daha neler yapabileceğimi göreceğiz :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment