0
how to fix this array string problem
model = [r'/\', '|', r'/|\', 'O'] I dont know how to describe this problem but i want to print a stick man model via for loop from model. I thought this problem relating to '\' so I used (r) to treat these strings as Raw string but It did not fix the error. Thanks for helping
1 Resposta
+ 2
Does this helps?
model = ['/\\', '|', '/|\\', 'O'] escape any "\" character using "\"