Write a python program to print the following output.
Input
The first line of input contains a single line positive integer N.
The second line of input contains a space-separated integers denoting the cost of the item.
Output
The output is a single line integer.
Explanation
For example, Given N = 2 and cost = 10 200
Ram has to pay for both the items, he won't get anything for free.
So the output is 210.
Sample Input1
4
1 1 2 2
Sample Output1
4
Sample Input2
2
10 200
Sample Output2
210
A 240-turn solenoid is 80.0cm long and carries a current of 0.30A. Calculate the magnitude of the magnetic field at the center of solenoid.
The leader of the Factory Worker claims that the average pay of factory workers in
Marikina City is less than 500 php. A random sample of 16 factory workers was
interviewed and resulted on the average of 350 php. Using a significance level of
0.05 and standard deviation of 92. Determine if there is sufficient evidence that the
claim is true.
p=0.64
a=0.05
n=180
what is the point estimate of p?
what is the interval estimate of p?
Write code to load data from cars.csv into a dataframe and print its details. Details like: 'count', 'mean', 'std', 'min', '25%', '50%', '75%', 'max'.
Find the area, take the elements of the area parallel to the x-axis. y=2x³-3x²-9x; y=x³-2x²-3x..
find the area of the region bounded by the curves x=y³ and y=x²
You are planning to buy a good quality cell phone in order to attend the online calss.The average price of 50 cellphones is ₱13,500 with a standard deviation of ₱573.65 and a confidence level of 99%. Find the corresponding confidence interval.
You are given n inputs, write a program to print the first prime number in the given inputs.
In the given example of 5 integers.
5
1
10
4
3
2
Output should be
3