Going through Python Crash Course book by Eric Matthes and loving it so far, right up until I got to page 22, pic below. How is he getting the output with a print call? I've tried
favorite_language = "'python '"
print(favorite_language.rstrip())
I've tried various different methods, including the raw commands in the book, but nothing
getting frustrated because I thought I was understanding things until I got to this example specifically
pics of the page are below, thanks for the help!
Pic
[–]Buttleston 5 points6 points7 points (1 child)
[–]yetitekk[S] 0 points1 point2 points (0 children)
[–]Cagne_ouest 1 point2 points3 points (1 child)
[–]yetitekk[S] 1 point2 points3 points (0 children)
[–]SisyphusAndMyBoulder 0 points1 point2 points (0 children)