+ 2
Space saving in Python 3............
Can anyone please tell me which will accumulate less space......... 1) string('hi \n please help') Or 2) string(""'hi please help""")
3 odpowiedzi
+ 4
like file size ?
2nd one need 4 extra double quote, plus (depend on your editor) in windows new line resolve using 2 character \n\r. thats 1 more character. that's extra 5bytes for you.. out of at least 500Gigabytes of your harddrive ¯\_(ツ)_/¯
+ 3
That's hardly going to matter while making anything.
+ 2
Arsenic but using many times could make the program slow while loading