SEF9 - 51 Programming Concepts Lesson 01 (Numerical calculations in Python are easy. )

LESSON 01 PYTHON ==> LEARNING POINTS
=========================================

Some learning points for python programs in this tutorial are:

# (1) We show how to call and invoke a pre-defined function in
# a separate python file (module) and use it in another file.
#
# (2) We can use the pre-defined function in a scalar manner (PART 1),
# or in an array manner (PART 2).
#
# (3) We can calculate and display results for each set of values
# in the array using multiply nested "for loops" (PART 2).
#
# (4) We plot the calculated values for the function results (PART 3)
# for simple interest, and (PART 4) for compound interest.
#
# (5) We show how to plot two graphs in one diagram (PART 5)
# and introduce a legend in the diagram.
#
# =========================================
#
# (6) The kuntakinte(n) function shows that we can pass a number
# to a function, but the functions outputs a result that is
# different to our "normal sense" of how a function should behave.
#
# The kuntakinte(n) function is really funny. How strange is it?
# Read the python script that runs the kuntakinte(n) function provided.
#
# Can we be even sure that the kuntakinte(n) function will always
# terminate (stop) for any integer value we input to it?
#
# =========================================


--
WASSALAM
wruslan.hahaha

Attachments:
call_functions.py
financial_functions.py
kuntakinte-01.py

Full Version with Microsoft Word Version and Attachments
Return to Software Engineering Fundamentals (SEF9MMUWRY)
Previous Topic: 50 Software Construction - What programming language should I use?
Next Topic: 52 Programming Concepts Lesson 02 (Correct and incorrect calculations in C, C++ and Python. Why?)

0 comments:

Post a Comment