Question: Can someone who is knowledgeable in Python Programming Language please help provide the accurate formulas/codes for the following problems below: a) Create an array of
Can someone who is knowledgeable in Python Programming Language please help provide the accurate formulas/codes for the following problems below:
a) Create an array of at least ten numbers. Square every number in that array and display the result for the user.
b) Create an array of five numbers. Display each element of the array next to some descriptive text.
c) Create an array of ten numbers. Multiply each element by 2 and display both the original number and its double, with descriptive text telling the user what is happening.
d) Using if/else if/else:
Ask the user the input an angle between 0 and 90 degrees, then compute and display the cosine of that angle (remember to convert to radians!). If the user picks an angle outside of these bounds, inform them that the inputted angle is out of bounds.
Thanks in advance and I will be sure to leave an upvote!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
