Oct-02-2019, 05:31 PM
Hello, Python world!
I recently started studying Python with the book called 'Python Crash Course' by Eric Matthes.
It has been very entertaining so far without any major problem. (I'm in chapter 6 now)
When I compare my codes for exercise to the answers on his website, however,
I notice some differences. Everything works fine, btw.
For example, The answer on the website is
print("Hello " + username + ", thank you for logging in again!")
and
Mine is
print(f"Hello {username}, thank you for logging in again!")
I assume that format for using variable in print is slightly dated, although it works.
So, finally my question is,
Where do I need to go to keep myself updated with the most recent python grammar?
(Please forgive me if the expression grammar is wrong)
Thank you in advance.
I recently started studying Python with the book called 'Python Crash Course' by Eric Matthes.
It has been very entertaining so far without any major problem. (I'm in chapter 6 now)
When I compare my codes for exercise to the answers on his website, however,
I notice some differences. Everything works fine, btw.
For example, The answer on the website is
print("Hello " + username + ", thank you for logging in again!")
and
Mine is
print(f"Hello {username}, thank you for logging in again!")
I assume that format for using variable in print is slightly dated, although it works.
So, finally my question is,
Where do I need to go to keep myself updated with the most recent python grammar?
(Please forgive me if the expression grammar is wrong)
Thank you in advance.