That's not the only problem with the code. There's a missing close- paren and a reference to "string" which I presume was meant to be "myString".
Suggest OP create a reproducible case, and paste the code and output verbatim. On Sun, 2021-02-07 at 20:40 +0100, Karsten Hilbert wrote: > Am Sun, Feb 07, 2021 at 08:34:34PM +0100 schrieb Philipp Daher via > Python-list: > > > I recently coded this snippet of code: > > myString=„hello“ > > I doubt you have (coded *this* snippet of code) -- because > those quotes wouldn't work. > > Karsten > -- > GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B -- https://mail.python.org/mailman/listinfo/python-list