| You are here: | About>Computing & Technology>Python |
![]() | Python |
Beginning Python: Data TypesIntroductionAs I said in the tutorial "How a Computer Looks At Your Program", computer programs consist of data and code. In order to make code able to be used for more than a single set of data, computer programs use variables, or containers for data. These containers are technically called data structures because they allow the data to be structured in different ways. Just like you would probably be disinclined from cooking pasta in a coffee cup or drinking tea from a vat, so Python offers a variety of containers for different kinds of data. In Python, there are five basic data structures or types of variables: integers, strings, lists, tuples, and dictionaries. In the following pages, we will look at each in turn.
Previous | Next >> Related ArticlesVisual Basic .NET 2005 Express - Visual Basic Fundament...Visual Basic .NET 2005 Express - Programming Logic and ...Visual Basic .NET 2005 Express - Errors: Preventing and...Python Programming - Before Programming Python - Summar...RSS Reader in Python - Building an RSS Reader With Pyth... |
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. |


