Search for tag: "python"

Debugging 2 - Logical errors

How to deal with logic errors in Python. Use print statements.

+2 More
From  Simon Pauw 0 likes 1,006 plays 0  

Debugging 1 - Type of problem

Identifying three different type of problems that might occur when trying to run your code: - Syntax errors - Exceptions - Logical problems

+1 More
From  Simon Pauw 0 likes 997 plays 0  

Continue - Basics

How to use the continue statement in Python.

+2 More
From  Simon Pauw 0 likes 9 plays 0  

Pass - Basics

How to use the pass statement in Python

+2 More
From  Simon Pauw 0 likes 8 plays 0  

Break - Basics

How to (not) use the break statement in Python

+2 More
From  Simon Pauw 0 likes 19 plays 0  

Main function 2 - with import

Defining a main function is particularly useful when create a program consisting of multiple python files.

+3 More
From  Simon Pauw 0 likes 81 plays 0  

Main function 1 - For better design

How to define a main function to improve the design of your code in Python?

+3 More
From  Simon Pauw 0 likes 375 plays 0  

Tuples 1 - Basics

How to use tuples in Python

+2 More
From  Simon Pauw 0 likes 926 plays 0  

Use case - Transform strings

How to use loops to transform strings into other strings

+3 More
From  Simon Pauw 0 likes 765 plays 0  

Use case - Filtering lists with for

How to use a foor loop to filter elements from a list in Python

+4 More
From  Simon Pauw 0 likes 1,047 plays 0  

Use case - Nested loops

Using loops inside of other loops in Python.

From  Simon Pauw 0 likes 1,381 plays 0  

While 3 - Common Mistakes

Some common mistakes with using while loops.

From  Simon Pauw 0 likes 1,229 plays 0  

Use case - While for input validation

How to use a while loop for input validation?

+3 More
From  Simon Pauw 0 likes 2 plays 0  

Functions 4 - Functions as parameters

How to use functions as parameters for other functions (i.e., second order functions)

+2 More
From  Simon Pauw 0 likes 453 plays 0  

Functions 3 - Multiple Return Values

How to return more than one value using functions in Python?

+2 More
From  Simon Pauw 0 likes 893 plays 0  

Functions 2 - Multiple Parameters

How to define and use functions that have more than one input parameter.

+2 More
From  Simon Pauw 0 likes 1,027 plays 0