+ 1

Help me

I am new and understanding python give me tips

19th Jul 2024, 3:22 AM
ram kumar tiwari
ram kumar tiwari - avatar
3 Respostas
+ 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.
19th Jul 2024, 3:56 AM
Wilbur Jaywright
Wilbur Jaywright - avatar
+ 1
Thank you,you are good
19th Jul 2024, 10:49 AM
ram kumar tiwari
ram kumar tiwari - avatar