Closed MerlinofMines closed 2 years ago
Actually, after inspection the behavior, while a little unexpected, is correct. Otherwise Print "My list: " + myList + "\n" wouldn't work as expected.
If you intend to add a string item to a list, you need to wrap it [myString]
Describe the bug Adding a string to a list does not insert the string into the list, but rather prints out the list + string.
To Reproduce
Output:
[]abc
Expected behavior
[a,b,c]
Additional context Add any other context about the problem here.