Answers for "what r' means in python"

0

what is r in python

# a normal string which treats a back slash as a special character and changes some properties of it
("D:UserslegendaryPicturesSaved Picturesbugatti.jpg")

#we use r string to write paths without any conflit since they contain backshlases

# >>> this is an r string
(r"D:UserslegendaryPicturesSaved Picturesbugatti.jpg")
Posted by: Guest on April-12-2021

Python Answers by Framework

Browse Popular Code Answers by Language