F means print it in uppercase. That's really an edge case for a float, that would only apply to the special values infinity and not-a-number.
On April 26, 2017 8:08:16 PM MDT, boB Stepp <robertvst...@gmail.com> wrote: >My Google-fu must be weak tonight. I cannot find any discernible >difference between '%f' % <some floating point number> and '%F' % ><some floating point number>. Is there any or do they duplicate >functionality? If the latter, why are there two ways of doing the >same thing? > >I had a similar question for %d and %i, but googling suggests these >are inherited from differences in handling input in the C language, >though I could not locate a Python example where there is a need for >one or the other. Are there any relevant Python examples? > >-- >boB >_______________________________________________ >Tutor maillist - Tutor@python.org >To unsubscribe or change subscription options: >https://mail.python.org/mailman/listinfo/tutor -- Sent from my Android device with K-9 Mail. Please excuse my brevity. _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor