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 …
Author Archives: julstt
Basic User Input
In Python 3 you can perform user input with the input() functions. If you want the user of your program to input a string or variable you can do it like it’s shown in the next picture: If you want the input to be a specific type, for example a float, you can use a …
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. …
First steps with Python
Our first Assignment „Mastery 01 – Python Basics“ just involved to code a simple program that shows that we’re able to create and run that program through Thonny, a IDE (integrated development environment) for Python. So have fun with my little division program!
Bienvenidos a mi Blog
Welcome to my Blog which is connected to my class „Problem Solving with Programming“ with Ken Bauer at TEC Guadalajara where I’m spending a semester abroad.