Logo Lanfrica

BethanyJep/Funcs-and-Loops

Creator:
Bet
Host:
A talk for AI Gaming East Africa (#AIGamingEA) about Functions and Loops in Python # Funcs-and-Loops A talk for AI Gaming East Africa (#AIGamingEA) about Functions and Loops in Python ## 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 * Create reusable functionality with functions in Python * Iterate through code blocks by using the while statement * Control Flow Tools in Python ## Next Steps * Exercise - Add arbitrary argument lists and keyword arguments to functions * Take your first steps in Python learning path