Question: VIDEO LINK: https: / / video . search.yahoo.com / search / video; _ ylt = Awr . 0 HSMIlZjGSo 0 PpFXNyoA; _ ylu = Y
VIDEO LINK: https:videosearch.yahoo.comsearchvideo;yltAwrHSMIlZjGSoPpFXNyoA;yluYsbwNncTEEcGzAzEEdnRpZANMTNVSTAMxBHNlYwNwaXZz?pusingoperatorsandexpressionsINPYTHON&frpivweb&typeEUSG&frmcafee#id&vidddafcdedbb&actionviewLinks to an external site.
Instructions:
For each program below, add a printmy name is with your name substituted in for
Open an MSCode window and enter the code from Figure that computes the area of a triangle. Test the program with different inputs by running the program at least times. Submit the code as Labptpy
Write a program that calculates and prints the number of minutes in a year. Submit the code as Labptpy
A standard science experiment is to drop a ball and see how high it bounces. Once the "bounciness" of the ball has been determined, the ratio gives a bounciness index. For example, if a ball dropped from a height of meters bounces meters high, the index is and the total distance the ball traveled from "top to top" is meters after one bounce DOWN, UP If the ball were to continue bouncing, the distance is after bounces is would be in metersm Note that distance for each successive bounce is the distance to the floor plus of that distance as the ball comes back up Write a program that lets the user enter the initial height from which the ball is dropped, the bounciness index, and the number of times the ball is allowed to continue bouncing. Output should be the total distance traveled by the ball. Enhance the output by printing the equation as it is being bounced calculated ie print out and not just Submit the code as LabptpyFigure
Python script in an IDLE window
myprogram.py Userslambertkmyprogrampy
Width intinputEnter with width:
height intinputEnter with height:
area width height
printThe area is area, "square units."
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
