/Funcs-and-Loops

A talk for AI Gaming East Africa (#AIGamingEA) about Functions and Loops in Python

Primary LanguageJupyter Notebook

Funcs-and-Loops

A talk for AI Gaming East Africa (#AIGamingEA) about Functions and Loops in Python

Event Poster

Session Objectives

  • Use the while statement to iterate through a code block.​
  • Use the break, continue, and if-else statements to further control iteration.
  • Use for looops to iterate sequences
  • Define functions and add arguments and later return values from functions
  • Create modules to host functions that can be imported to other files

Resources

Next Steps