Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

almost 6 years ago

Language

Python

Compiler

CPython 3.6.2

Options

Author

anonymous

almost 6 years ago

$ python3 prog.py
Traceback (most recent call last):
  File "prog.py", line 41, in <module>
    haipai1 = yamahai[0,1,2,3,17,18,19,20,33,34,35,36,49]
TypeError: list indices must be integers or slices, not tuple
Exit Code:
1