The idea
Guido van Rossum began implementing Python during the Christmas holidays of 1989 and released it publicly in February 1991. His earlier work with ABC influenced its design. The name came from Monty Python’s Flying Circus. These details are useful because they show a language growing from real needs and earlier ideas, rather than appearing fully formed.
A tiny experiment
import sys
print("Python major version:", sys.version_info.major)
print("Two values:", 4, 7)
print("Their sum:", 4 + 7)Reveal the expected output
Python major version: 3 Two values: 4 7 Their sum: 11
Read it one step at a time
- The major version is 3: this companion teaches Python 3.
- Parentheses make print a function call here. Older Python 2 examples may show a different spelling.
- The comma separates arguments; + performs addition. Similar-looking punctuation can have different jobs.
Make one change
Which is easier to explain to a friend: print(4 + 7), or total = 4 + 7 followed by print(total)?
Check your thinking
Both produce 11. A meaningful name can explain the role of a value; a short expression can be clearer when the extra name adds nothing. Choose for the reader.
Keep following the trail
Sources & further reading
Companion notes for Coding Adventure by James Colby. Historical claims link to their sources; the examples are written for this learning trail.