Welcome to Week 1: Getting Started with Python - Your First Steps into Coding Greatness!
Ready to dive into the world of Python? This week, we're kicking things off with the absolute essentials! You'll get cozy with Python's data types, explore lists, learn the art of operations, and start writing code like a pro. Think of it as your Python warm-up, where you’ll pick up the core skills to set you up for success. Get ready to make Python your new best friend.
Session 1: Fundamentals of Python
Date, Time: 28.11.2024, 14:00-15:45
Duration: 1 hour 30 minutes, 15 minutes break
Content:
- Introduction to Python:
- Why Python? Understanding script languages vs. compiled languages
- Setting up the development environment (editors and IDEs)
- The Good Old Fashion documentation.
- Basic Syntax and Variables:
- Writing your first Python program: print("Hello world").
- Variables and assignment operators
- Basic data types: int, float, str, bool.
- Type conversion and casting.
- Mathematical Functions and Operators:
- Arithmetic operations.
- Variable Scope:
- Understanding local vs. global variables
- Best practices for variable naming and scope
Session 2: Getting started with Python
Date, Time: 29.11.2024, 14:00-15:45
Duration: 1 hour 30 minutes, 15 minutes break.
Content:
- Control Flow Statements
- Conditional statements: if, elif, else.
- Logical operators: and, or, not.
- Understanding None, null, and NaN values.
- Loops:
- for loops with range().
- while loops for unknown iteration counts.
- Control statements: break, continue, pass.
- Nested loops and their applications.
- Data Structures:
- Lists.
- Tuples.
- Sets.
- Dictionaries and String operations
Requirements
- Your own laptop
- Internet connection
- Google account
- Google Colab installed in Google Drive
- Please install Google Colab to your Google account before the workshop
Note
If you don't want to work with Google Colab, you can also download Anaconda IDE and Jupyter Notebook and work locally on your device. Please note, that we cannot give you any support for this in the workshop.
For Windows users, please add Python to your environment variables!
Here are some YouTube videos for the download:
If you have a hard time to download all the relevant software for this course, you can also use the installer.
Materials
- Slides: https://docs.google.com/presentation/d/1l5g149rca00fUHOgdI7HtLwPDXFFen2s/edit?usp=sharing&ouid=116220617472791343301&rtpof=true&sd=true
- Notebook: https://drive.google.com/file/d/1WXdrRq_wGyrX7CEba1CaMe4v6DRhO4sY/view?usp=sharing
- Solution: https://colab.research.google.com/drive/1a8_Ojvd8JE4d-w6Wi06mN3TfJQheX-ad?usp=sharing
- Feedback form: https://forms.gle/jC7DV7cUxp5ZUXJo7