No I don’t think so personally
Answer:
See there are multiple ways to get a perfect shot of products to stand out but the most affective according to me are explained below :-
- Macro shooting - These are close shots u can say really close just to show the product more attractive and u can see these types of shots in every advertisement.
- Background shooting/shots - Opposite of macro shots.
- 3d shots - These are 360° shots.
Tip :- Use wide aperture like F2 and right aperture for right shots.
Hope it helps!
Answer:
import numpy as np
def sample_median(n, P):
return np.median( np.random.choice ( np.arange (1, len(P) + 1 ), n, p = P ) )
print(sample_median(10,[0.1 0.2 0.1 0.3 0.1 0.2]))
print(sample_median(10,[0.1 0.2 0.1 0.3 0.1 0.2]))
print(sample_median(5, [0.3,0.7])
print(sample_median(5, [0.3,0.7])
Explanation:
- Bring in the numpy library to use the median function provided by the numpy library.
- Define the sample_median function that takes in 2 parameters and returns the median with the help of built-in random, choice and arrange functions.
- Call the sample_median function by providing some values to test and then display the results.
Output:
4.5
4.0
2.0
1.0
It is called the desktop or case.