Python randomly fill a list

前端 未结 0 912
星月不相逢
星月不相逢 2020-12-31 04:46

I want to randomly fill half with S and half with O
for example like:
SSOSOOSO
OSOOSSOS
SSSOOSSO
OSOSOSOO

with my code I change randomly every lin

相关标签:
回答
  • 消灭零回复
提交回复
热议问题