Python: Difference between revisions
Mr. MacKenty (talk | contribs) No edit summary |
Mr. MacKenty (talk | contribs) No edit summary |
||
Line 8: | Line 8: | ||
<!-- [[media:File:Python3 reference cheat sheet.pdf| Please click here for a checklist you must complete]] --> | <!-- [[media:File:Python3 reference cheat sheet.pdf| Please click here for a checklist you must complete]] --> | ||
[[media | [[media:Python3 reference cheat sheet.pdf|Please click here for our python cheatsheet]] | ||
Revision as of 09:42, 9 October 2020
Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Its high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development, as well as for use as a scripting or glue language to connect existing components together. Python's simple, easy to learn syntax emphasizes readability and therefore reduces the cost of program maintenance. Python supports modules and packages, which encourages program modularity and code reuse. The Python interpreter and the extensive standard library are available in source or binary form without charge for all major platforms, and can be freely distributed.[2]
Please click here for an excellent resource for learning python
Please click here for our python cheatsheet
Python is our language of choice.
- It is the CS introductory programming language in many universities
- It has an especially clear syntax
- We get to logic thinking over syntax thinking much faster
- The language is well-supported
- Library management is a breeze
- The language is very powerful for solving complex problems
Basic ideas
These ideas follow our programming guide, linked above.
- Understand how to output text strings
- Understand how to input strings and numbers into variables
- Understand string manipulation functions
- String manipulation functions
- Understand how to use selection statements
- How to use selection statements
- Understand how to use arithmetic operations and random numbers
- Understand counter controlled iterations
- Understand condition controlled iterations
- Understand subroutines, procedures and functions
- Understand arrays and lists
- Understand serial files
- How to handle exceptions for validation
- Understand dictionaries