what are the usage of 'r' in following line?
Title
Question
legend([r'$y=4(x^2)$' , r'$y=2x+3$'])
Python-3.4.3 Multiple-plots 05-06 min 0-10 sec
Answers:
r denotes that it is a raw string
Here the usage of 'r' is raw string .Python raw string treats backslash (\) as a literal character.
By DEVAKI C IRTT clg Erode.
Here the usage of 'r' is raw string .Python raw string treats backslash (\) as a literal character.
By SHIVA VISHNU T IRTT clg Erode.
Here the usage of 'r' is raw string .Python raw string treats backslash (\) as a literal character.
By SIVANESAN.S IRTT clg Erode.
Login to add comment