Data Types
Python recognizes and differentiates between several kinds of data. Lets look at the following and some of the things we can do with them:
- StrChapter 6 (Slides, Printable Slides, Lecture Audio)
- Chapter 8 (Slides, Printable Slides, Download Video, Lecture Audio)
- Chapter 9 (Slides, Printable Slides, Download Video, Lecture Audio)
- Chapter 10 (Slides, Printable Slides, Download Video, Lecture Audio)
Extra Credit
You are designing an inventory and point-of-sale system for a local produce market. Aspects of the system include:
- farmer name and booth number
- market slogan
- produce name and price
- names of growing seasons ('spring', 'sumer', 'fall', 'winter')
- cities where the farmers and participants are located (no state data necessary yet)
Q: How can each aspect be represented in Python data types? Give an example for each.
You can also have a quick look at: http://pytuts.blogspot.com/2011/10/hi.html