• 26-10-2022, 01:18:32
    #1
    Kimlik doğrulama veya yönetimden onay bekliyor.
    Merhabalar, aşağıda yer alan kodları çalıştırınca şu hatayı alıyorum, ne yapmam gerek acaba? Şimdiden teşekkürler.
    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
  • 26-10-2022, 01:20:11
    #2
    iyi geceler. konsoldaki hatayı okumanız yeterlidir
  • 26-10-2022, 01:21:08
    #3
    myage = 35 alt satirda yazin hocam
  • 26-10-2022, 01:21:34
    #4
    hkey adlı üyeden alıntı: mesajı görüntüle
    iyi geceler. konsoldaki hatayı okumanız yeterlidir
    Merhaba hocam, iyi geceler. Debug console'da bir şey yazmıyor, problems kısmında da bir problem bulunamadı diyor. Belki basit bir hata bilmiyorum, henüz başladım, mazur görün.
  • 26-10-2022, 01:22:02
    #5
    Code4Fun adlı üyeden alıntı: mesajı görüntüle
    myage = 35 alt satirda yazin hocam
    Evet onu ekran görüntüsünü aldıktan sonra farkettim ve düzelttim fakat bir şey değişmedi hocam.
  • 26-10-2022, 01:24:59
    #6
    yusufmesci adlı üyeden alıntı: mesajı görüntüle
    Evet onu ekran görüntüsünü aldıktan sonra farkettim ve düzelttim fakat bir şey değişmedi hocam.
    yazdırmak istediğin diğer değişkenleri de tanımla

    değişkeni tanımlamadığın için {variable} is not defined dior
  • 26-10-2022, 01:27:03
    #7
    yusufmesci adlı üyeden alıntı: mesajı görüntüle
    Evet onu ekran görüntüsünü aldıktan sonra farkettim ve düzelttim fakat bir şey değişmedi hocam.
    kodu copy paste yapar misiniz lutfen
  • 26-10-2022, 01:28:42
    #8
    hkey adlı üyeden alıntı: mesajı görüntüle
    yazdırmak istediğin diğer değişkenleri de tanımla

    değişkeni tanımlamadığın için {variable} is not defined dior
    my_age is not defined diyor ama my_age = 35 diye üstte tanımlı hocam :/

    Code4Fun adlı üyeden alıntı: mesajı görüntüle
    kodu copy paste yapar misiniz lutfen
    buyrun hocam

    my_name = 'Zed A. Shaw'
    my_age = 35 # not a lie
    my_height = 74 # inches
    my_weight = 180 # lbs
    my_eyes = 'Blue'
    my_teeth = 'White'
    my_hair = 'Brown'
    print(f"Let's talk about {my_name}.")
    print(f"He's {my_height} inches tall.")
    print(f"He's {my_weight} pounds heavy.")
    print("Actually, that is not too heavy.")
    print(f"He's got {my_eyes} eyes and {my_hair} hair.")
    print(f"His teeth are usually {my_teeth} depending on the coffee.")
    # this line is tricky, try to get it exactly right
    total = my_age + my_height + my_weight
    print(f"If I add {my_age}, {my_height}, and {my_weight} I get {total}.")
  • 26-10-2022, 01:33:02
    #9
    yusufmesci adlı üyeden alıntı: mesajı görüntüle
    buyrun hocam

    my_name = 'Zed A. Shaw'
    my_age = 35 # not a lie
    my_height = 74 # inches
    my_weight = 180 # lbs
    my_eyes = 'Blue'
    my_teeth = 'White'
    my_hair = 'Brown'
    print(f"Let's talk about {my_name}.")
    print(f"He's {my_height} inches tall.")
    print(f"He's {my_weight} pounds heavy.")
    print("Actually, that is not too heavy.")
    print(f"He's got {my_eyes} eyes and {my_hair} hair.")
    print(f"His teeth are usually {my_teeth} depending on the coffee.")
    # this line is tricky, try to get it exactly right
    total = my_age + my_height + my_weight
    print(f"If I add {my_age}, {my_height}, and {my_weight} I get {total}.")
    hocam bende çalışıyor değişiklikten sonra run ettiğinize emin misiniz