Python String Cut Question!

Asked 2 years ago, Updated 2 years ago, 43 views

For example, if ABCD is included in the variable a, A, B, C, D, and space are separately

I want to cut all the letters into pieces, how do I code them?

python raspberry-pi string

2022-09-22 19:09

1 Answers

a = 'ABCDE '
b = list(a)


2022-09-22 19:09

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.