Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
help for programming
#6
(Sep-20-2019, 09:38 PM)ichabod801 Wrote: You are getting double +'s because you have two 2's. You find the first one, and replace with 2+, but that replaces both of them. Then you find the second one, and replace both of them again, giving you the double +'s.

Try replacing line 6 with st = '+'. Then you won't need that last for loop.

thanks alot
Reply


Messages In This Thread
help for programming - by navidmo - Sep-20-2019, 06:58 PM
RE: help for programming - by ichabod801 - Sep-20-2019, 07:10 PM
RE: help for programming - by navidmo - Sep-20-2019, 09:07 PM
RE: help for programming - by ichabod801 - Sep-20-2019, 09:38 PM
RE: help for programming - by navidmo - Sep-21-2019, 06:42 PM
RE: help for programming - by perfringo - Sep-21-2019, 08:52 AM

Forum Jump:

User Panel Messages

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