6
Trying to turn the key into a variable
(lemmy.tf)
Welcome to the Python community on the programming.dev Lemmy instance!
Past
November 2023
October 2023
July 2023
August 2023
September 2023
Did you find the answer to your question, and if not, could you explain it better?
Also, a quick tip: if you are using Python 3, you don't need to join your variables before passing them into
print
.print
accepts any number of arguments, converts them to strings, and prints them as a single line separated by spaces (which is exactly what your code seems to be doing).I did indeed, it resulted in this script https://lemmy.tf/post/3359226
If you have any advice on how to improve it, I would greatly appreciate it.
Also, thank you for the
print
information. That's really helpful.