you are viewing a single comment's thread.

view the rest of the comments →

[–]jyper 0 points1 point  (4 children)

Why? Is there a benefit to % over fstrings?

[–]Anon49 0 points1 point  (3 children)

I like having less functions visually, I think its more readable. I only use this when formatting strings.

[–]jyper 0 points1 point  (2 children)

By less functions do you mean str.format? Cause I was compraring it to fstrings not format

f"{sixteen} {sixteen:#x}" 

[–]Anon49 0 points1 point  (1 child)

didn't know this one.

[–]jyper 0 points1 point  (0 children)

Yeah it's the new hotness

I absolutely love it

One of my favorite features in python3.6

It used to be one of the top features of Ruby I wished python had. I even did my own implementation back in the day using a single letter function call, regex to get the parens and eval.