python what r means code example
Example: what is r in python
# a normal string which treats a back slash as a special character and changes some properties of it
("D:\Users\legendary\Pictures\Saved Pictures\bugatti.jpg")
#we use r string to write paths without any conflit since they contain backshlases
# >>> this is an r string
(r"D:\Users\legendary\Pictures\Saved Pictures\bugatti.jpg")