Erle Robotics Learning Python GitBook Free


You might have considered the situation where you would like to reuse a piece of code, just with a few different values. Instead of rewriting the whole code, it's much cleaner to define a function, which can then be used repeatedly. In this chapter we will learns more things about functions and their use.