~/ learn/ python-from-zero/ cards/ Defining functions
1 of 1

Return the area of a rectangle.

Return the area of a rectangle.

Answer

def area(w, h): return w * h print(area(3, 4))

space flip · ← → navigate · esc to exit
NORMAL ~/memra/library/222de212-b831-47a0-9c55-712954a2ce7c/flashcard utf-8 LF