29. Using Functions With Named Arguments And Default Values

29. Using Functions With Named Arguments And Default Values

Preview unavailable

You must log in or sign up to view this lesson.

LoginSign up

Introduction to Python Programming

Buy nowLearn more

Section: 1 Introduction

  • 1. Introduction to the Course, Course Checklist PDFs
  • 2. Install Python and the Wing IDE on a Windows System
  • 3. Install Python and the Wing IDE on a Mac
  • 4. Using a Raspberry Pi Computer for the Python Course
  • 5. Basic Instructions on Using the Wing Editor

Section: 2 Variables, Input, Types, and Type Conversions

  • 6. Variables in Python
  • 7. Getting Input From the User, Converting Variable Types

Section: 3 If Conditional Statements, Boolean Logic, Math Precedence

  • 8. Introduction to the If Statement 2
  • 9. Boolean Logic
  • 10. Creating a Compound If Statement
  • 11. Using Nested If Statements
  • 12. Precedence of Math Operations
  • 13. Boolean Operator Precedence

Section: 4 Lists and For Loops

  • 14. Introduction to Python Lists
  • 15. Creating a For Loop, the Wing Debugger
  • 16. More For Loop Practice, Loops & Lists
  • 17. Operations With Python Lists
  • 18. Additional List Operations
  • 19. Sorting and Reversing Lists
  • 20. Nested For Loops

Section: 5 Random Numbers and Strings

  • 21. How to Generate and Use Random Numbers
  • 22. Manipulating Strings in Python

Section: 6 While Loops

  • 23. How to Create a While Loop
  • 24. Using a Boolean Variable to Control a While Loop
  • 25. More on While Loops

Section: 7 Python Functions

  • 26. Introduction to Python Functions
  • 27. Passing Arguments to a Function
  • 28. Returning Values From a Function
  • 29. Using Functions With Named Arguments And Default Values
  • 30. Modularizing Code With Functions
  • 31. Dog-Human Age Calculator Assignment Given Using Functions
  • 32. Variable Scope, Global And Local Variables
  • 33. Rock, Paper, Scissors Assignment Given Using Functions

Section: 8 Tic Tac Toe: Text Based Example of Creating a Larger, More Complex Program

  • 34. Tic Tac Toe Program Introduction and Overview
  • 35. Tic Tac Toe Board Setup
  • 36. Tic Tac Toe Player's Move
  • 37. Tic Tac Toe Player Loop
  • 38. Tic Tac Toe Computer's Move (Random Selection)
  • 39. Tic Tac Toe: Check For a Win or a Tie
  • 40. Tic Tac Toe: Improve The Computer’s Playing Logic (If Statements)
  • 41. Tic Tac Toe: Improve The Computer’s Playing Logic by Testing For a Win
  • 42. Tic Tac Toe Final

Section: 9 Programming Assignment Solutions and Explanations

  • 43. Assignment 1 Solution: Variables, Input, and Print
  • 44. Assignment 2 Solution: Simple If Statements
  • 45. Assignment 3 Solution: If Statements With Boolean Operators
  • 46. Assignment 4 Solution: Branching Story With If Statements
  • 47. Assignment 5 Solution: Simple Math Calculator
  • 48. Assignment 6 Solution: Intro to Lists
  • 49. Assignment 7 Solution: Student Test Scores
  • 50. Assignment 8 Solution: Madlib
  • 51. Assignment 9 Solution: Players Scores
  • 52. Assignment 10 Solution: Random Sentences
  • 53. Assignment 11 Solution: Pig Latin
  • 54. Assignment 12 Solution: Race/Contest Simulation
  • 55. Assignment 13 Solution: Tip Calculator
  • 56. Assignment 14 Solution: Dog-Human Age Calculator
  • 57. Assignment 15 Solution: Rock, Paper, Scissors