| You are here: | About>Computing & Technology>Python> Beginning Python> Python Programming - Before Programming Python - Arguments and Commands - Picking an Argument - Part 3 |
![]() | Python |
How a Computer Reads a ProgramPicking an Argument - Part 3In Python, the command to print is simply "print". Like the example of "throw" above, "print" needs an argument, something to print (e.g., "ball"). In Python, this is offset by quotations: print "ball"The output from this statement would be simply (note: no print command and no quotation marks): ballBy default, the output from print goes to the screen. There are ways to redirect the output, but we shall save that for a later tutorial. |
Las Vegas on a BudgetFind a BargainHotel DealsCheap EatsFree AttractionsEntertainment for Less |
All Topics | Email Article | | | ![]() |
| Advertising Info | News & Events | Work at About | SiteMap | Reprints | Help | Our Story | Be a Guide |
| User Agreement | Ethics Policy | Patent Info. | Privacy Policy | ©2008 About, Inc., A part of The New York Times Company. All rights reserved. |


