Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Spacing/Formatting
#2
I had more success with this
    print(f'{"10.Pizza Cost: $":<31}{pizza:.2f}')
    print(f'{"State Tax: $":<31}{state_tax:.2f}')
    print(f'{"Pizza Total: $":<31}{pizza + state_tax:.2f}')
Reply


Messages In This Thread
Spacing/Formatting - by Hendrixson29 - Aug-29-2020, 05:30 AM
RE: Spacing/Formatting - by Gribouillis - Aug-29-2020, 08:38 AM
RE: Spacing/Formatting - by bowlofred - Aug-31-2020, 07:40 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pyplot line color and spacing/padding metalray 0 2,770 May-26-2017, 08:39 AM
Last Post: metalray

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020