Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: function with radius as a parameter that returns area of a circle
Post: RE: function with radius as a parameter that retur...

I'm trying to run this but it gives me a blank output. import math def circle_area(radius): CircArea = (math.pi * (radius) ** 2) circle_area(2.0)
taydeal20 Homework 4 7,195 Feb-07-2018, 03:22 PM
    Thread: function with radius as a parameter that returns area of a circle
Post: function with radius as a parameter that returns a...

Instructions: Write a function named circle_area that accepts the radius of a circle as a parameter (as a number) and returns the area of a circle with that radius. For example, the call of area(2.0) ...
taydeal20 Homework 4 7,195 Feb-06-2018, 11:34 PM
    Thread: Writing a function that accepts two integer parameters (lines and cheers)
Post: Writing a function that accepts two integer parame...

I have to create a function named "cheerleader" that produces the following output using parameters: cheerleader(4, 3) output Go Team Go Team Go Go Team Go Team Go ...
taydeal20 Homework 1 3,111 Feb-05-2018, 07:44 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020