Update for Python Ai and deleted old Python file
This commit is contained in:
parent
d39648c736
commit
0b5ccda5c4
|
@ -1,17 +0,0 @@
|
||||||
def user_input():
|
|
||||||
# Kayıtlı kullanıcı adı ve şifre
|
|
||||||
registered_user = "kullanici"
|
|
||||||
stored_password = "sifre123"
|
|
||||||
|
|
||||||
# Kullanıcıdan bilgileri alma
|
|
||||||
user_name = input("Kullanıcı Adı: ")
|
|
||||||
password = input("Şifre: ")
|
|
||||||
|
|
||||||
# Kullanıcı adı ve şifre kontrolü
|
|
||||||
if user_name == registered_user and password == stored_password:
|
|
||||||
print("Giriş başarılı! Hoş geldiniz, {}.".format(user_name))
|
|
||||||
else:
|
|
||||||
print("Hatalı kullanıcı adı veya şifre. Tekrar deneyin.")
|
|
||||||
|
|
||||||
# Kullanıcı girişi fonksiyonunu çağırma
|
|
||||||
user_input()
|
|
Loading…
Reference in New Issue
Block a user