Calling functions in Python

Most programing languages have a set of functions available that the user can us without the need to program it himself. But the user can also define and use his own functions. Important to know is that in Python functions are treated like objects. This way they are way more flexible. As already mentioned, there …

Object types in Python

In Python, like every other programing language as well, you can define different types of objects. This is necessary and helpful in many aspects. Through those object the computer understands what the programer or engineer what’s it to do. It can even help to optimize the performance of the program. People who beginn with programing …

The Zen of Python

The Zen of Python is a set of principles defined from the American software engineer Tim Peter in 1999. Those 19 principles are recommendations for developers and engineers to keep continuity in coding. Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than complicated. Flat is …

Comments – How to mute your code

In every programing language is function to make comments in your code. Those are very important in sense of document your code for other and even your self. Comments help to structure the code, to explain what is going on and and to remember how your code works. A good structured and commented code can …

I coded a program to calculate areas but I don’t feel like a programer

The programs in the screenshot are pretty simple and ideal to beginners. The first one is suppose to calculate the area of a triangle with the a, b and c. So the user needs to enter the input first before it is calculated. First I used fixed variables but they are commented out. The second …

Erstelle eine Website wie diese mit WordPress.com
Jetzt starten