Is my code supposed to be in different colors?

Usually whenever i see an example of code its color coded but when i type the same there is no color coding im using python 3.11 is there something im missing?

See answer to your previous question.

Alright just had a look thankyou