2 Answers
New Answerthe composition of a function is simple. define objects (variables) use mathematical , logical, string, or boolean operators. set up some arguments run em through if, else, elif, or, not... a function is a piece of code that can be executed at any moment. Function crosses his arms an goes "hmph i aint doing nothing unless i have to. then you set up sumthing like: if the sky == blue: *whateverfunction("vars needed to preform func")
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message