Ifconfig output in python

Hopefully there is not another topic like this out there already.

When I output the ifconfig in python from my machine, it does not look the same as when Zaid does it in the video.

My machine

Zaid’s output from his machine

How can I get that cleaned up?

I think I fixed the issue. I will add a screen shot in a bit just incase someone else had the same issue. I will tell you I think it was because I was very tired and not concentrating