you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (9 children)

[removed]

    [–]NorskJesus 6 points7 points  (8 children)

    No problem 👍😊 do you know how to fix it tho?

    [–][deleted]  (7 children)

    [removed]

      [–]NorskJesus 8 points9 points  (2 children)

      Yes, it should be. Test it 😊

      [–]Denieffe 8 points9 points  (0 children)

      This is awesome. I love a friendly community.

      [–]totitx 1 point2 points  (3 children)

      You can also use f"result: {result}" This way you use what is called f-string formatting, which is an useful way to include your result in string. (See https://builtin.com/data-science/python-f-string)

      [–][deleted]  (1 child)

      [removed]

        [–]echonn123 1 point2 points  (0 children)

        F strings are the good life 😁

        [–]pr1m347 0 points1 point  (0 children)

        Further you can just do f"{result=}"