|
934 | 934 | "result": [ |
935 | 935 | { |
936 | 936 | "color":"red", |
937 | | -"text":" print('---')\n ^\nIndentationError: unindent does not match any outer indentation level\nat line 3\n\nAn `IndentationError` occurs when a given line of code is\nnot indented (aligned vertically with other lines) as expected.\n\nThe line identified above is less indented than expected.\n\n" |
| 937 | +"text":" print('---')\n^\nIndentationError: unindent does not match any outer indentation level\nat line 3\n\nAn `IndentationError` occurs when a given line of code is\nnot indented (aligned vertically with other lines) as expected.\n\nThe line identified above is less indented than expected.\n\n" |
938 | 938 | }, |
939 | 939 | { |
940 | 940 | "color":"red", |
|
2685 | 2685 | "result": [ |
2686 | 2686 | { |
2687 | 2687 | "color":"red", |
2688 | | -"text":"SyntaxError: expression cannot contain assignment, perhaps you meant\"==\"?\nat line 1\n\nA `SyntaxError` occurs when Python cannot understand your code.\n\nOne of the following two possibilities could be the cause:\n1. You meant to do a comparison with == and wrote = instead.\n2. You called a function with a named argument:\n\n a_function(invalid=...)\n\nwhere `invalid` is not a valid identifier (variable name) in Python\neither because it starts with a number, or is a string,\nor contains a period, etc.\n\n\n" |
| 2688 | +"text":" print(1 + 2 = 3)\n ^\nSyntaxError: expression cannot contain assignment, perhaps you meant\"==\"?\nat line 1\n\nA `SyntaxError` occurs when Python cannot understand your code.\n\nOne of the following two possibilities could be the cause:\n1. You meant to do a comparison with == and wrote = instead.\n2. You called a function with a named argument:\n\n a_function(invalid=...)\n\nwhere `invalid` is not a valid identifier (variable name) in Python\neither because it starts with a number, or is a string,\nor contains a period, etc.\n\n\n" |
2689 | 2689 | }, |
2690 | 2690 | { |
2691 | 2691 | "color":"red", |
|
5158 | 5158 | "result": [ |
5159 | 5159 | { |
5160 | 5160 | "color":"white", |
5161 | | -"text":"['__add__', '__class__', '__contains__', '__delattr__', '__delitem__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__gt__', '__hash__', '__iadd__', '__imul__', '__init__', '__init_subclass__', '__iter__', '__le__', '__len__', '__lt__', '__mul__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__reversed__', '__rmul__', '__setattr__', '__setitem__', '__sizeof__', '__str__', '__subclasshook__', 'append', 'clear', 'copy', 'count', 'extend', 'index', 'insert', 'pop', 'remove', 'reverse', 'sort']" |
| 5161 | +"text":"['__add__', '__class__', '__class_getitem__', '__contains__', '__delattr__', '__delitem__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__gt__', '__hash__', '__iadd__', '__imul__', '__init__', '__init_subclass__', '__iter__', '__le__', '__len__', '__lt__', '__mul__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__reversed__', '__rmul__', '__setattr__', '__setitem__', '__sizeof__', '__str__', '__subclasshook__', 'append', 'clear', 'copy', 'count', 'extend', 'index', 'insert', 'pop', 'remove', 'reverse', 'sort']" |
5162 | 5162 | }, |
5163 | 5163 | { |
5164 | 5164 | "color":"white", |
|
15018 | 15018 | "result": [ |
15019 | 15019 | { |
15020 | 15020 | "color":"red", |
15021 | | -"text":" is_friend = name ==\"Alice\" or\n ^\nSyntaxError: invalid syntax\nat line 1\n\nA `SyntaxError` occurs when Python cannot understand your code.\n\nI am guessing that you wrote `or` by mistake.\nRemoving it and writing `is_friend = name ==\"Alice\"` seems to fix the error.\n\n" |
| 15021 | +"text":" is_friend = name ==\"Alice\" or\n^\nSyntaxError: invalid syntax\nat line 1\n\nA `SyntaxError` occurs when Python cannot understand your code.\n\nI am guessing that you wrote `or` by mistake.\nRemoving it and writing `is_friend = name ==\"Alice\"` seems to fix the error.\n\n" |
15022 | 15022 | }, |
15023 | 15023 | { |
15024 | 15024 | "color":"red", |
|
15535 | 15535 | "result": [ |
15536 | 15536 | { |
15537 | 15537 | "color":"red", |
15538 | | -"text":"\"XOX\n ^\nSyntaxError: EOL while scanning string literal\nat line 7\n\nA `SyntaxError` occurs when Python cannot understand your code.\n\nYou started writing a string with a single or double quote\nbut never ended the string with another quote on that line.\n\n" |
| 15538 | +"text":"\"XOX\n^\nSyntaxError: EOL while scanning string literal\nat line 7\n\nA `SyntaxError` occurs when Python cannot understand your code.\n\nYou started writing a string with a single or double quote\nbut never ended the string with another quote on that line.\n\n" |
15539 | 15539 | }, |
15540 | 15540 | { |
15541 | 15541 | "color":"red", |
|