????1????????????棺
????c/c++???????“{}”??????????????????????????飬??????????????????????
????for(i=0;i<n;i++)
????{
????cout<<a[i];
????j+=1;
????}
????Python???????????????????????????????
????1 for i in n:
????2      print(a)
????3      j+=1
????2????for????????
????c/c++?????????????for??i=0;i<n;i++??{???}??????????????????磺n??????????????
????Python?в????????????for i in range???????????е???????????????
????3??python???????????
????python???????????????random.randrange()????????????????????????????????????????????????????????
????4??Python?????????????
????python?е???????е??????????????????
?????磺
????1 word="game"
????2 word[0]="l"
??????δ???????
????????c/c++?????????????????????????????????
????***????????????python?ж????????????????????????????????????????1??????????
????5??python??????????????????????????????壬??????????????????????????磺cout=“”??
????6??python????????????λ?????

???????????????????????δ?0??????
??????????????????????δ?-1??????
????7??python???????????????????
????????a[start:finish]??????????a?д???start????????finish???????