Question: Problem 1 Write a python program to read 5 float numbers from the user, store the numbers in an array. Problem 2 Consider the following
Problem 1
Write a python program to read 5 float numbers from the user, store the numbers in an array.
Problem 2
Consider the following arrays:
A= [10,20,30,40,50,60,70]
B= [12.4,15.7,76.8,6.8]
Write a python program to store the addition of A and B in a third array C.
Problem 3
Create an array of integers and then preform the following operations:
- append the value 100 to the array.
- ask the user to enter a value and then count the number of occurrences of this value in the array.
- create another array then extend the first append all its items to the first array (using extend).
- find the index of a certain number in the array.
- insert an element to a specific position of the array.
- reverse the array.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
