是否可以为字符串的每个字符设置一个不同的变量?换句话说。。
string='Hello'
#Do some thing to split up the string here
letter_1= #The first character of the variable 'string'
letter_2= #The second character of the variable 'string'
#...
letter_5= #The fifth character of the variable 'string'
谢谢你的回答。
目前没有回答
相关问题 更多 >
编程相关推荐