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()
main fonksiyonunu çağırdın mı?Licsense key girdikten sonra kapanıyor kodun devam etmesi için ne yapabilirim?
Main fonksiyonunu çağırdın mı?
Str yapmasına gerek yok, kullanıcının girdiği zaten str olarak geliyor.LicenceKey = str(input("Input Licence Key")) yapmayı denedin mi?
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 !")
Time.sleep'den sonra "main()" satirini ekle.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.
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 !")
Bu sitenin çalışmasını sağlamak için gerekli çerezleri ve deneyiminizi iyileştirmek için isteğe bağlı çerezleri kullanıyoruz.