+ 1
Help me
I am new and understanding python give me tips
3 Réponses
+ 4
My tip: Make sure you search the forum and code playground for information and resources. There's a lot of gold to be mined.
https://sololearn.com/compiler-playground/W0uW3Wks8UBk/?ref=app
https://sololearn.com/compiler-playground/WPt7hMnBd60i/?ref=app
https://sololearn.com/compiler-playground/Wps10yG4b1aK/?ref=app
https://sololearn.com/compiler-playground/cAZWLvpeFw3r/?ref=app
https://www.sololearn.com/discuss/1187881/?ref=app
+ 3
One thing I can tell you is that pretty soon you will have to choose whether to use single or double quotes for strings, and you will probably stick with this decision for the rest of your developing. The main reason to use double quotes is that apostrophes in string literals are way more common than double quotes, and if you use single quotes for the string literal, every apostrophe has to have a backslash to make it an escape sequence. The main reason to use single quotes is that the Python interpreter does when it prints stuff out, and it seems like most developers do as well. I don’t know why, except that pressing shift for the beginning and the end of every string literal is slightly more difficult than pressing backslash before an apostrophe within a string.
+ 1
Thank you,you are good