Q:

Python shows wrong gcc version

I updated gcc to v6 few weeks ago. Today i noticed that python2 and python3 both the interpreters were using gcc v5. Why does python interpreter show gcc v5 but I have gcc v6 installed? I am using xubuntu 16.
Here is my terminal:

A:

On your platform, gcc-6 command is referring to GCC V6. gcc command is still referring to GCC V5,
Note: You can check it via typing gcc --version on terminal.

