Calling Functions

Functions are really important for programmers. Functions in Python are used to utilize the code in more than one place in a program. Python provides you many inbuilt functions like print(), but it also gives freedom to create your own functions. And furthermore there a many prefabricated functions in libraries. To use them you have …

Python Basic Output

There is not just one Output functions in Python. I will show it to you with the print() function. You can print a string or a variable: You can print more then one string by using a comma: If you want to ouptut a float number with a specific number of decimal places, use the …

Basic Data Types in Python

In this Post i will show you some of the basic data types in Python: IntegerIn Python 3, there is effectively no limit to how long an integer value can be. Of course, it is constrained by the amount of memory your system has, as are all things, but beyond that an integer can be …

Zen of Python

Today I’ll write about the Zen of Python. The Zen of Python is a collection of 19 principles, which are are supposed to be guidelines for you while coding with Python. Here is the list: -Beautiful is better than ugly.-Explicit is better than implicit.-Simple is better than complex.-Complex is better than complicated.-Flat is better than …

Python: Fun with Numbers

In this Article I’ll show you diverse functions to calculate in Python. The first thing you can see is that the user has to define A & B with an „input„. Before that you can see „int„, it stands for integer. So the user is only allowed to put in whole numbers without decimal place. …

Erstelle eine Website wie diese mit WordPress.com
Jetzt starten