Question
Objectives: Investigation, comparison and critique of features in the programming language Python . Language: Python is an interpreted, object-oriented programming language developed in 1990 by
Objectives:
Investigation, comparison and critique of features in the programming language Python.
Language:
Python is an interpreted, object-oriented programming language developed in 1990 by Guido van Rossum, computer scientist at CWI in Amsterdam and Monty Python fan. Python is very portable since Python interpreters are available for most operating system platforms. The latest Python source distribution and Python documentation is available from python.org, at http://www.python.org/. Python is enough like languages you are familiar with to make it fairly easy to learn, yet different enough to be interesting to study.
Assignment:
Investigate the following features or constructs as they pertain to Python:
1.interpretation
2.Boolean expressions
3.short circuit evaluation
4.numeric types
5.strings
6.arrays
7.lists
8.tuples
9.slices
10.index range checking
11.dictionaries
12.if statement
13.switch statement
14.for loop
15.while loop
16.indentation to denote code blocks
17.type binding
18.type checking
19.functions
20.one other feature - your choice
For each of the above features you should do the following:
Write a short program or programs to investigate its use. You may combine more than one feature into a single program.
Explain how the feature works in Python and compare it to one or more languages with which you are familiar.
Critique the implementation or use of the feature or construct.
Note: Some of the features above are not included in Python, in which case you should note that they are missing and critique the decision to leave them out.
Finally, you should give an overall critique of Python.
What to Hand In:
You need to include:
A.The source code files for all of your Python programs.
B.A copy of the output from all of your Python programs.
C.Your typed explanations and critiques. Be sure to turn in both a critique of each feature and an overall critique of the Python language.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started