I have the following problem in Visual Studio Code 2019 where Anaconda python 3.7.4 64-bit intepretator is used. I am trying to create a list using the following python code:
my_list = [1, 2, 3]
However instead of creating the list compiler initializes the tuple since the following code
type(my_list)
returns (class 'tuple') which should be the case if I use round brackets or no brackets at all like in the following code
my_list = 1, 2, 3
My guess is that Visual Code by some reasons ignores the fact that I am providing the square brackets. Similar problem has been discussed in this post Can't type certain square brackets in Visual Studio 2010 + Resharper.
Please help me to figure out the problem related to the Visual Studio ignorance of square brackets.
Will be very greatfull for help!