py4e icon indicating copy to clipboard operation
py4e copied to clipboard

Cover .format string method

Open eah13 opened this issue 8 years ago • 1 comments

the .format method is replacing the % operator, which will eventually be deprecated. Python 3 supports both, so we should cover both in Chapter 6.

I'll try to add this in the next few weeks if I can - teaching a summer course.

eah13 avatar May 22 '17 03:05 eah13

I think this should now even be replaced by f-string formatting ;-)

I just told my students not to learn about this section at all. Same here, I'll see if I find the time to rewrite this

fmaussion avatar Mar 30 '22 11:03 fmaussion