educative.io

What's the additional r printed?

I see an additional r printed however the number of elements is 6 however r is printed as additional 7th element why…?

This is Waleed from Educative. Thank you for reaching out to us!

To import recent packages for execution of codes on our platform, we have declared a variable r at our backend. Under normal circumstances, you will not get this variable when using the ls() command.

Best Regards,
Waleed Khalid | Developer Advocate
Educative