LessonAbout 5 minLesson languageEnglishதமிழ் (Tamil)हिन्दी (Hindi)മലയാളം (Malayalam)తెలుగు (Telugu)ಕನ್ನಡ (Kannada)বাংলা (Bengali)मराठी (Marathi)ગુજરાતી (Gujarati)ਪੰਜਾਬੀ (Punjabi)Chapter 9 · Lesson 1 of 501. Make your own commandA function is a named piece of code. Make your own with def, then run it whenever you like by calling its name.