Let's do a short Poll to see what you alredy know about Python.
Below you see an example of a python program. If you are used to other programming languages, this looks a bit different... but you'll get used to it!
print('Python is fun!')
Python is fun!
for g in range(3, 0, -1):
print(g)
3 2 1
As you can see python is easy to read, almost like English. You will learn more about the Python syntax, later on.
Python is a very popular programming language for a variety of reasons
Let's trace the roots of this programming language
You will find all required links on Moodle. And all lecture notebooks can be accessed here:
https://gitlab.ost.ch/edu-public/python-for-engineers/pyeng-lectures
If you are new to a langugage don't use co-pilots. You need to get familiar with the syntax and you need to figure out how to use the language yourself
Remark, this Video explains very well, what you should consider when learning Python, and how to use/not use AI/Co-Pilots: https://www.youtube.com/watch?v=St48epdRDZw
Need more hints?
Sign | Explanation | Exampe |
---|---|---|
# Title |
Heading 1 | Heading 1 |
## Title |
Heading 2 | Heading 1 |
*some text* |
Italic | This is italic text |
**some text** |
Bold | This is bold text |
* Point |
Bullet point |
|
1. Item |
Numberd Item (allways use 1.) |
|
--- |
Horizontal line | |
`code` | Code (mono spcae) | code example |
with the sign (``` python)
you can format Markdown text into python code
print("hello World")
For further reference go here: [https://markdownguide.org/cheat-sheet/]