3dcheapskate opened this issue on May 10, 2022 ยท 27 posts
adp001 posted Wed, 11 May 2022 at 6:27 PM
3dcheapskate posted at 1:27 PM Wed, 11 May 2022 - #4438463
That's Python 2 style :)whereas normal people tend to use the % sign with a comma separated list (there's a name for that, something to do with format). I think Python 3 needs that format. But I'm not sure.
Python 3 uses something like print("Number {} and number {}".format(1, 2)) or so called "f" strings.
But P3 can also deal with Python 2 formatting (%). See this discussion: https://stackoverflow.com/questions/14753844/python-3-using-s-and-format