🏀 #HIBUDDY

Page 12455 of 15749
Thread was locked by
a moderator
  • Sep 15, 2021
    ·
    edited
    ·
    5 replies
    Knickstaped

    What’s up?

    ok bro I'm writing up a code for a little project and Im stuck on some weirdo s***

    heres the code

    for j in e:
    if j1 == "out":
    print("Situation: undefined")
    print("Amount owed (with taxes): {0}$\n".format(float(j2))
    elif j1 == "in":
    print("Situation: TPS + TVQ")
    print("Amount owed (with taxes: {0}$\n".format(float(j2)out))
    else:
    print("Situation: TPS")
    print("Amount owed (with taxes): {0}$\n".format(float(j2)
    inn))

    python telling me that theres a syntax error at elif j1 == "in": but that doesnt make any sense????????? the lines under the if,elif and else are indented, its ktt that doesnt show it

  • Sep 15, 2021

    Gm

  • Sep 15, 2021
    ·
    1 reply
    red eagle
    · edited

    ok bro I'm writing up a code for a little project and Im stuck on some weirdo s***

    heres the code

    for j in e:
    if j1 == "out":
    print("Situation: undefined")
    print("Amount owed (with taxes): {0}$\n".format(float(j2))
    elif j1 == "in":
    print("Situation: TPS + TVQ")
    print("Amount owed (with taxes: {0}$\n".format(float(j2)out))
    else:
    print("Situation: TPS")
    print("Amount owed (with taxes): {0}$\n".format(float(j2)
    inn))

    python telling me that theres a syntax error at elif j1 == "in": but that doesnt make any sense????????? the lines under the if,elif and else are indented, its ktt that doesnt show it

    Bro I’m not a coder lmao sorry

  • Sep 15, 2021
    ·
    2 replies
    Knickstaped

    Bro I’m not a coder lmao sorry

    smh I thought you were in CS

  • Sep 15, 2021
    red eagle

    smh I thought you were in CS

    Nope i took a couple CS courses that’s about it

  • red eagle

    smh I thought you were in CS

    @bigmancam can help

  • Sep 15, 2021
    ·
    5 replies
    red eagle

    ok bro I'm writing up a code for a little project and Im stuck on some weirdo s***

    heres the code

    for j in e:
    if j1 == "out":
    print("Situation: undefined")
    print("Amount owed (with taxes): {0}$\n".format(float(j2))
    elif j1 == "in":
    print("Situation: TPS + TVQ")
    print("Amount owed (with taxes: {0}$\n".format(float(j2)out))
    else:
    print("Situation: TPS")
    print("Amount owed (with taxes): {0}$\n".format(float(j2)
    inn))

    python telling me that theres a syntax error at elif j1 == "in": but that doesnt make any sense????????? the lines under the if,elif and else are indented, its ktt that doesnt show it

    Missing the closing parentheses for the prints

  • Sep 15, 2021
    ·
    5 replies

    Here he go lol

  • Sep 15, 2021
    Striker

    Missing the closing parentheses for the prints

    im so f***ing ret arded smh

    I closed the whole thing before seeing your post and wrote it down again and it worked, I see my issue now lmao

  • Sep 15, 2021
    Striker

    Missing the closing parentheses for the prints

    King 👑

  • Striker

    Missing the closing parentheses for the prints

    Okay good will hunting

  • Sep 15, 2021
    ·
    1 reply

  • Sep 15, 2021
    ·
    1 reply
    Reawakened
    https://twitter.com/kyrieirving/status/1438160955192459278

    Here he go lol

    Kyrie lowkey a barb

  • Sep 15, 2021
    Depressed Stealth
    !https://youtu.be/u8aK9GMd_ZU

    Gay ass gif!

  • Sep 15, 2021

  • Sep 15, 2021
    Striker

    Missing the closing parentheses for the prints

    every time

  • Sep 15, 2021
    Reawakened
    https://twitter.com/kyrieirving/status/1438160955192459278

    Here he go lol

  • Sep 15, 2021
    Reawakened
    https://twitter.com/kyrieirving/status/1438160955192459278

    Here he go lol

    @PutneySwope this is your hero

  • Reawakened
    https://twitter.com/kyrieirving/status/1438160955192459278

    Here he go lol

    F***ing idiot

  • Sep 15, 2021
    red eagle

    ok bro I'm writing up a code for a little project and Im stuck on some weirdo s***

    heres the code

    for j in e:
    if j1 == "out":
    print("Situation: undefined")
    print("Amount owed (with taxes): {0}$\n".format(float(j2))
    elif j1 == "in":
    print("Situation: TPS + TVQ")
    print("Amount owed (with taxes: {0}$\n".format(float(j2)out))
    else:
    print("Situation: TPS")
    print("Amount owed (with taxes): {0}$\n".format(float(j2)
    inn))

    python telling me that theres a syntax error at elif j1 == "in": but that doesnt make any sense????????? the lines under the if,elif and else are indented, its ktt that doesnt show it

    Lemme pull up idle

  • Sep 15, 2021
    ·
    1 reply
    red eagle

    ok bro I'm writing up a code for a little project and Im stuck on some weirdo s***

    heres the code

    for j in e:
    if j1 == "out":
    print("Situation: undefined")
    print("Amount owed (with taxes): {0}$\n".format(float(j2))
    elif j1 == "in":
    print("Situation: TPS + TVQ")
    print("Amount owed (with taxes: {0}$\n".format(float(j2)out))
    else:
    print("Situation: TPS")
    print("Amount owed (with taxes): {0}$\n".format(float(j2)
    inn))

    python telling me that theres a syntax error at elif j1 == "in": but that doesnt make any sense????????? the lines under the if,elif and else are indented, its ktt that doesnt show it

    What is j1 defined as bro

  • Sep 15, 2021
    BabyJimTru2Me

    What is j1 defined as bro

    Striker helped me out bro, I missed a paranthese in the prints

    its referencing the first value in the list j but ktt doesnt show square brackets

  • Sep 15, 2021
    ·
    2 replies

    First time going to this CFA and its busy as hell

  • Sep 15, 2021

Thread was locked by
a moderator