python and R code example
Example 1: r vs python
# R is more of a statistical analysis programming language. If you want to
# perform statistical analysis using Python, it's recommended to use the
# Pandas library.
Example 2: 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")