fork download
  1.  
  2.  
  3.  
  4.  
  5. # プレイヤー識別
  6.  
  7. R=[]
  8. B=[]
  9. Y=[]
  10. G=[]
  11.  
  12.  
  13. """
  14. 赤 Red
  15. 青 Blue
  16. 黄 Yellow
  17. 緑 Green
  18. """
  19.  
  20. for i in Blokus:
  21. R.append(str(i).replace('1', 'R'))
  22. B.append(str(i).replace('1', 'B'))
  23. Y.append(str(i).replace('1', 'Y'))
  24. G.append(str(i).replace('1', 'G'))
  25.  
  26.  
  27. def test(xx):
  28. for n2 in xx:
  29. print(n2)
  30.  
  31. #test(R)
  32. #test(B)
  33. #test(Y)
  34. #test(G)
Runtime error #stdin #stdout #stderr 0.01s 28376KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "./prog.py", line 20, in <module>
NameError: name 'Blokus' is not defined