>>> user = "Tuna McFish"
[source code] Python Programming Tutorial - 4 - Slicing up Strings
Post a Reply
|Oldest Newest Rating|
· August 27, 2014
Hey Bucky (or whoever wants to answer this question),
In your video you talked about using [:] to print the entire string.
Is there a difference between using:
I know when you assign variables like:
beans will be given a new place in memory with the same value as potato, so should the value of potato change beans will not change with it.
But as far as printing goes, is there any benefit to including the [:]?
This section is all about snakes! Just kidding.
|Bucky Roberts Administrator|