F String Use



    The code will print the following

    Your score is 0 and your height is 1.

    #Use f string
    score = 0
    height = 1.8
    isWinning = True
    print(f"Your score is {score} and your height is {height} and you are {isWinning}")
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.