+ 1
I think it depends on the context. 1. It can be ‘ or “ when you write a string. In this case it means the chars you use to mark the begining and end of a string. 2. It can be a special char in a string that you’ll use to split it, like: s = “element 1; element 2” lis = s.split(“;”) # lis is a list with 2 strings 3. It can be a special char like \ that you use to include ‘ or “ inside a string.
10th Jun 2018, 7:15 PM
Pedro Demingos
Pedro Demingos - avatar