Skip to content

Opening book details…

About this document

Python Functions for Basic Calculations by api-327847414 is a document available to read on EtoBox.

The document defines 7 functions: adder() that returns the sum of two numbers, myprint() that prints a string twice, pythagorean() that returns the hypotenuse of a right triangle, mcq() that returns a multiple choice answer, theSum() that returns the total of 5 numbers, volumeOfSphere() that returns the volume of a sphere, and drakeEquation() that calculates the Drake Equation and returns the value. Each function is called and the returned value is printed.

Author
api-327847414
Language
EN