O'Reilly logo

Python Without Fear, First Edition by Brian Overland

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

9. Advanced Function Techniques

The concept of functions is fundamental and was first introduced in Chapter 3, “Your First Programs.” But Python provides a number of advanced features used with functions. They make for simpler, easier, and more efficient programs.

By the end of this chapter, we’ll have explored how to use Python to play one of the most popular casino games in the world (without taking your money, however).

This chapter includes the following functional features:

Image Multiple arguments

Image Named arguments

Default arguments

Imported functions ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required