Sort Python String Order

Asked 1 years ago, Updated 1 years ago, 427 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


© 2024 OneMinuteCode. All rights reserved.