Posts

Variables values in Python

Image
There are four generic data types in Python programming language. These types are: strings, numbers, lists, Booleans. Numeric data type contains number values. A list in Python is ordered sequence of values. Strings data type contain text. Boolean values are True and False. YouTube video

Variables in Python programming language

Image
Variables in Python programming language are of a basic data type, meaning there is no need to specify a type of a variable at a variable declaration time. YouTube video

Comments in Python programming language

Image
There are two types of comments in Python code. There are single-line and multi-line comments. Single line comments are denoted with hash symbol. Multiline comments are denoted with triple single line quotation symbols to start the comment, and the comment ending is also specified with triple single line quotations symbols. Data in comments is not executed, but it adds clarity to the code that follows that comment. YouTube video

Introduction to Python programming language

Image
A programming language Python is easy to be used. It is an interpreted programming language, meaning that Python interpreter is needed to run the code. Since it is interpreted, the code that is written in Python language will be cross-platform, meaning it will run in different operating systems without modifying code. Python is multipurpose, meaning that it is possible to use it in many scenarios. There are many of Python extensions or modules exists, so it is possible to enhance the functionality of the application easily. Python is popular, many people use Python programming language to write programs using it. YouTube video

Parameters of a function or a procedure

Image
Parameters of a function or a procedure are the values that are provided into that code. YouTube video

A procedure

Image
A procedure can be used when a repeatable code is used. Instead of using that code again and again, it is possible to put that code inside of a procedure, and call that procedure instead of reusing that code. It will make code more cleaner, and has a potential of reducing number of errors. Even so, a function can be used to achieve the same result, the main difference between a procedure and a function, that a function returns something back, where a procedure just executes code. YouTube video

An event handler

Image
An event handler is code that runs when a specific action happens. For example a key on a keyboard is pressed. YouTube video