Tar: Removing leading `/' from member names

I am getting error tar: Removing leading `/’ from member names. When trying to do the 1st exercise from WORKING WITH SHELL – II, LAB: WORKING WITH SHELL II

Please suggest what am I missing here.

Hello @narayanan.ramesh,
That’s actually a feature, not a problem. Archives with absolute locations are a security risk. Attackers could use such archives to trick users into installing files in critical system locations.
so Use the --absolute-names option to disable this feature.

run: tar -cf /home/bob/python.tar --absolute-names /home/bob/reptile/snake/python
gzip /home/bob/python.tar