Individual Reflection about „Spring Semester Calendar“

Already the brainstorming was an exciting process. Our goal was to create something individual that is not a 08/15 program from the Internet, but one that even generates a benefit. Since our group consists exclusively of internationals, we thought together about what moved us especially in this semester and whether it could be integrated into„Individual Reflection about „Spring Semester Calendar““ weiterlesen

How to handle Strings

Each character of a string can be reached with an index number, each string starts with the 0 index. In order to output the part of a string, you have to consider the following: s[startIndex:pastIndex].pastIndex is the length of a string + 1. With the s.replace(„“,“““) operator you can replace parts of a string. You„How to handle Strings“ weiterlesen

Mutable and Immutable

Lists and tuples are two data structures in Python that can be used to combine data into one unit. Both data structures allow read access to the individual data. While the data structure list allows a write access, such a write access is not possible with tuples. Lists are data objects that can be changed„Mutable and Immutable“ weiterlesen

Which Repetition?

In the last article we dealt with recursions and considered the faculty as an example of recursion: It turned out that the use of recursions with a high recursion depth can lead to an impairment of computer performance. One approach to solve this is the bottom-up approach. Instead of recursive programming, a while loop is„Which Repetition?“ weiterlesen

There is no end…

… but there need to be one if you are operating with loops in Python. In genereal you have two possibilites: Using a while-loop Using a for-loop A while loop always starts with the word while. Then follows a condition and a colon. Normally, a loop is only terminated if the condition in the loop„There is no end…“ weiterlesen

If you read this blog post…

… you will know how to use conditionals in Python. ‚If-Sentences‘ are not only important in the English language but also in the computer language. With them it is possible to print conditions. Using the following example, which checks whether the given pages are a triangle, I would like to explain the use of ‚if‘„If you read this blog post…“ weiterlesen

The Function of a Function is to Function

User-defined functions are reusable code blocks. They only need to be written once, then they can be used multiple times. They can even be used in other applications, too. In Python a function is defined using the def Keyword.To call a function, use the function name(): With the Return command, you can return values of„The Function of a Function is to Function“ weiterlesen

Erstelle deine Website auf
Jetzt starten