Çözüldü Kodun yanlış kısmı neresidir?

Bu konu çözüldü olarak işaretlenmiştir. Çözülmediğini düşünüyorsanız konuyu rapor edebilirsiniz.
Çözüm
Kod:
LicenseKey = input("Input License Key: ")   
if LicenseKey == "Kenzy":
    print("Key is VAILD!")
    time.sleep(0.5)
else:
    print("Invaild Key!")
    print("Press Enter to quit!")   
    input()
    exit()

def main():
    
    time.sleep(0.2)
    addres = input(f"{Fore.GREEN}[$]"f"{Fore.LIGHTRED_EX} >     Enter your ETH address: ")
    time.sleep(0.5)
    print(f"{Fore.GREEN}[$]"f"{Fore.LIGHTRED_EX} >     ETH address is connected !")

main()

Bunu dener misiniz?
Python:
LicenseKey = input("Input License Key: ")   
if LicenseKey == "Kenzy":
    print("Key is VAILD!")
    time.sleep(0.5)
else:
    print("Invaild Key!")
    print("Press Enter to quit!")   
    input()
    exit()

def main():
    
    time.sleep(0.2)
    addres = input(f"{Fore.GREEN}[$]"f"{Fore.LIGHTRED_EX} >     Enter your ETH address: ")
    time.sleep(0.5)
    print(f"{Fore.GREEN}[$]"f"{Fore.LIGHTRED_EX} >     ETH address is connected !")

Kod bu.
 
Python:
LicenseKey = input("Input License Key: ") 
if LicenseKey == "Kenzy":
    print("Key is VAILD!")
    time.sleep(0.5)
else:
    print("Invaild Key!")
    print("Press Enter to quit!") 
    input()
    exit()

def main():
  
    time.sleep(0.2)
    addres = input(f"{Fore.GREEN}[$]"f"{Fore.LIGHTRED_EX} >     Enter your ETH address: ")
    time.sleep(0.5)
    print(f"{Fore.GREEN}[$]"f"{Fore.LIGHTRED_EX} >     ETH address is connected !")

Kod bu.
Time.sleep'den sonra "main()" satirini ekle.
Python:
LicenseKey = input("Input License Key: ")   
if LicenseKey == "Kenzy":
    print("Key is VAILD!")
    time.sleep(0.5)
    main()
else:
    print("Invaild Key!")
    print("Press Enter to quit!")   
    input()
    exit()

def main():
    
    time.sleep(0.2)
    addres = input(f"{Fore.GREEN}[$]"f"{Fore.LIGHTRED_EX} >     Enter your ETH address: ")
    time.sleep(0.5)
    print(f"{Fore.GREEN}[$]"f"{Fore.LIGHTRED_EX} >     ETH address is connected !")
 

Geri
Yukarı