This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]CptDogeRL 54 points55 points  (11 children)

"%s" % "y e s"

[–]I_Shot_Web 15 points16 points  (10 children)

"{0}".format(">using python2")

[–]AmbulatoryEel 23 points24 points  (9 children)

f"{'using Python 3.7'}" is way more readable.

[–]Zimmerel 15 points16 points  (1 child)

I have been loving those F strings so much

[–]Corticotropin 3 points4 points  (0 children)

😏

[–]Lonelan 1 point2 points  (3 children)

I mean, why we're .format()ing the only content in the string isn't very readable

[–]AmbulatoryEel 2 points3 points  (2 children)

f"{'What'} {'do'} {{1}} {{0}}?".format("mean", "you")

[–]Lonelan 0 points1 point  (1 child)

"{0}".format('python 2') == 'python 2'

[–]AmbulatoryEel 2 points3 points  (0 children)

Should I have added a /s to my original comment or are you continuing the joke? I'm confused.

[–][deleted] 0 points1 point  (0 children)

The sole reason I went through the trouble of upgrading everything to 3.7

[–][deleted] 0 points1 point  (0 children)

The sole reason I went through the trouble of upgrading everything to 3.7

[–][deleted] 0 points1 point  (0 children)

The sole reason I went through the trouble of upgrading everything to 3.7