python string prefix code example
Example: python string prefix
f'Hello, {name}' is the same as 'Hello, {}'.format(name) # if name is 'Mark', this outputs 'Hello, Mark'
b'This string is a byte string, it is stored as bytes and not as characters'
u'This is a Unicode string and is redundant in python 3.3 and above'
r'This is a raw string, so \n will be read as \n and not as a newline'