Adobe PDF (241.54 kB)
Title Details:
Functions
Authors: Manis, Georgios
Reviewer: Blekas, Konstantinos
Description:
Abstract:
The subject of this chapter is functions and procedures. First, this chapter talks in general about functions and procedures and what are their differences and similarities. It then deals with parameter passing by examining the two most important ways of passing parameters: by value and by reference. Below he explains the difference between global and local variables and deals with the scope of variables in general. For a deeper understanding of these concepts there are examples in slides accompanied by audio. The chapter then focuses on Python and how and which of the above mechanisms it supports. For a deeper understanding there are interactive examples that the reader can run and follow step by step.
Type: Chapter
Creation Date: 2015
Item Details:
License: http://creativecommons.org/licenses/by-nc-sa/3.0/gr
Handle http://hdl.handle.net/11419/2752
Bibliographic Reference: Manis, G. (2015). Functions [Chapter]. In Manis, G. 2015. Introduction to Programming with Python as a helper [Undergraduate textbook]. Kallipos, Open Academic Editions. https://hdl.handle.net/11419/2752
Language: Greek
Consists of: 1. Εναλλαγή τιμής δύο μεταβλητών
2. Φωνήεντα σε λίστα από συμβολοσειρές
3. Απόσταση από την αρχή των αξόνων
Is Part of: Introduction to Programming with Python as a helper
Publication Origin: Kallipos, Open Academic Editions