Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

yes programing language with python. isPlanet and beachday Har Hopper, email should be Gracendedu Isten tells you if a given number is 10, takes a

image text in transcribed
yes programing language with python. isPlanet and beachday
image text in transcribed
Har Hopper, email should be Gracendedu Isten tells you if a given number is 10, takes a number, returns True if 10 test this program with 4. 10, 105, and 553 .IsPlanet - tells you it a given word is the name of one of the planets in our solar system, takes a word, returns The if it is a planet Earth should return True. Big Dipper should return false beachDay. tells you whether you can go to the beach, takes variable hasSunscreen and is loudly, returns True if you can go to the beach Should only let you go to the beach when sunny if you have sunscreen and should let you go to the beach it is cloudy regardless um designs that you want to make In one Python file, create all three functions. Test your functions with the inputs provided Create a stack trace for each of your 3 functions Function Design Options area Triangle - finds the area of a triangle, takes a base length and height length, returns area o base is 6, height is 8, area should be 24 terpiD - gives someone a UMD email address, takes first name and last name, returns firstlast@umdedu (no spaces) - only 1 function should be able to handle any email input. o first name is Grace, last name is Hopper, email should be GraceHopper@umd.edu Isten - tells you if a given number is 10, takes a number, returns True if 10 o test this program with 4. 10, 10.5 and 553 IsPlanet - tells you if a given word is the name of one of the planets in our solar system, takes a word, returns True if it is a planet Earth should return True, Big Dipper should return false beachDay - tells you whether you can go to the beach, takes variable hasSunscreen and isCloudy, returns True if you can go to the beach Should only let you go to the beach when sunny if you have sunscreen and should let you go to the beach if it is cloudy regardless

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Reliability Engineering Designing And Operating Resilient Database Systems

Authors: Laine Campbell, Charity Majors

1st Edition

978-1491925942

More Books

Students also viewed these Databases questions

Question

How many Tables Will Base HCMSs typically have? Why?

Answered: 1 week ago

Question

What is the process of normalization?

Answered: 1 week ago