Sort Python String Order

Asked 2 years ago, Updated 2 years ago, 452 views

How do I arrange strings regularly in Python in the order I want them to be?

For example, if the order you want is 1423,

"iloveyoutooo" =>"ivloeuyotooo" Like this

+So you cut 4 pieces and arrange them in order

python string

2022-10-23 16:00

0 Answers

If you have any answers or tips


© 2025 OneMinuteCode. All rights reserved.