2013-11-26 4 views
0

for 루프의 출력을 word라는 변수에 단계별로 작성하고 싶습니다. for 루프는 다음과 같습니다python : for 루프의 출력을 변수에 쓰는 방법

text = visual.TextStim(win=win, units='pix', height=20, font='Courier')  
for i in range(len(word)):#calls upon the number of letters within a word 
       text.setText(word[i])#addresses a letter within a word 
       text.setPos()#give the letter a certain position on the screen 
       word=... 

내가 변수라는 단어 하나 각 문자를 작성하려합니다. 어떻게해야합니까?

도움을 주시면 대단히 감사하겠습니다.

문자에 대한 I

답변

0

자 = 'A', 'B', 'C']

: 워드 워드 = I +

관련 문제