If you are using windows the encoding is a little different.
You can read about it here.
The single quotes just my preference. The lessons I watched said it did not matter, they are treated the same. Just my opinion, the only advantage I could see is if you needed a single quote in the string eg:
This is for terminal. Will not work in IDE's
Not always supported you can try this
You can read about it here.
The single quotes just my preference. The lessons I watched said it did not matter, they are treated the same. Just my opinion, the only advantage I could see is if you needed a single quote in the string eg:
myval = "Isn't this a string"
as apposed to myval = 'Isn\'t this a string'
This is for terminal. Will not work in IDE's
Not always supported you can try this
print(f'\033[3mThis is italic text\033[0m')
I welcome all feedback.
The only dumb question, is one that doesn't get asked.
My Github
How to post code using bbtags
The only dumb question, is one that doesn't get asked.
My Github
How to post code using bbtags