from time import sleep
import random
class created_new_random_key:
def system_created_key(self):
self.key = ""
char = "123"
for x in range(10):
self.key += random.choice(char)
def system_print_this_key(self):
self.system_created_key()
print(self.key)
sleep(.5)
print("Ретатрт на авторизацию!")
return user_try_to_entered().user_entered_password()
class user_try_to_entered:
def user_entered_password(self):
user_entered = input("Введите ранее выданный пароль: ")
if (user_entered != self.key): #
import random
class created_new_random_key:
def system_created_key(self):
self.key = ""
char = "123"
for x in range(10):
self.key += random.choice(char)
def system_print_this_key(self):
self.system_created_key()
print(self.key)
sleep(.5)
print("Ретатрт на авторизацию!")
return user_try_to_entered().user_entered_password()
class user_try_to_entered:
def user_entered_password(self):
user_entered = input("Введите ранее выданный пароль: ")
if (user_entered != self.key): #