I have used Python occasionally for several months, I know we can use # and """ or ''' to comment. But when i wanted to comment some items of a dictionary, with comment words ('''), i failed.
testItems = {
'TestOne':
{
"NameId":101
"Score":99
},
'''
'TestTwo':
{
"NameId":101
"Score":99
}
'''
}
then i get ther error of SyntaxError: invalid syntax
pointing to the last ''' position.
I also know there are some indent rule of python language. But i tried so many indent possibility, still fail.