Python for Everybody Quotes
Python for Everybody: Exploring Data in Python 3
by
Charles Severance921 ratings, 4.27 average rating, 75 reviews
Open Preview
Python for Everybody Quotes
Showing 1-4 of 4
“When we train a dog, we use special words like “sit”, “stay”, and “fetch”. When you talk to a dog and don’t use any of the reserved words, they just look at you with a quizzical look on their face until you say a reserved word. For example, if you say, “I wish more people would walk to improve their overall health”, what most dogs likely hear is, “blah blah blah walk blah blah blah blah.” That is because “walk” is a reserved word in dog language.”
― Python for Everybody: Exploring Data in Python 3
― Python for Everybody: Exploring Data in Python 3
“input Get data from the "outside world". This might be reading data from a file, or even some kind of sensor like a microphone or GPS. In our initial programs, our input will come from the user typing data on the keyboard. output Display the results of the program on a screen or store them in a file or perhaps write them to a device like a speaker to play music or speak text. sequential execution Perform statements one after another in the order they are encountered in the script. conditional execution Check for certain conditions and then execute or skip a sequence of statements. repeated execution Perform some set of statements repeatedly, usually with some variation. reuse Write a set of instructions once and give them a name and then reuse those instructions as needed throughout your program.”
― Python for Everybody: Exploring Data in Python 3
― Python for Everybody: Exploring Data in Python 3
“Python is much more like a dog, loving you unconditionally, having a few key words that it understands, looking you with a sweet look on its face (>>>), and waiting for you to say something it understands. When Python says "SyntaxError: invalid syntax", it is simply wagging its tail and saying, "You seemed to say something but I just don't understand what you meant, but please keep talking to me (>>>).”
― Python for Everybody: Exploring Data in Python 3
― Python for Everybody: Exploring Data in Python 3
