Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Basic program
#1
Hi,
I was asked to write the below program. Please let me know what is the best solution.

Input: [124678,1134546,9091102]
Output: [246817, 4461135, 2009911]

even digits should be in the beginning of the given element while odd digits should be placed at the end of the string.

How do you write this program?

Thanks
Reply


Messages In This Thread
Basic program - by balajee - Sep-11-2018, 09:36 AM
RE: Basic program - by buran - Sep-11-2018, 12:10 PM
RE: Basic program - by gruntfutuk - Sep-11-2018, 07:19 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Basic Python Program for Sequence patycanes 7 10,244 Jul-15-2018, 08:53 PM
Last Post: ichabod801

Forum Jump:

User Panel Messages

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