Define composition of function with example | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Define composition of function with example

19th Nov 2017, 12:50 PM
prakash
2 Answers
0
the 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")
19th Nov 2017, 2:52 PM
Black Frost
Black Frost - avatar
0
if sky not green: stop here and clean my yard.
19th Nov 2017, 2:53 PM
Black Frost
Black Frost - avatar