The sale person is not telling you the truth.
This is because, the size of an average picture on phone is about 3 megabytes. One gigabyte is equivalent to 1000 megabytes; so 8GB is equivalent to 8,000MB [Megabytes].
If you divide 8,000MB by 3MB, which is the size of an average picture, you will have approximately 2,666 pictures. This means, you will only be able to store about 2,666 pictures on that phone compared to the 10,000 pictures the sale person is talking about.
Answer: This is a python code
def lightyear():
rate=3*100000000 //speed of light
seconds=365*24*60*60 //number of seconds in 1 year
return str((rate*seconds)/1000)+" km" //distance=speed x time
print(lightyear()) //will print value of light hear in kilometers
OUTPUT :
9460800000000.0 km
Explanation:
In the above code, there is a variable rate, which stores the speed of light, i.e. distance traveled by light in 1 second which is in meters. Another variable is seconds, which store the number of seconds in 1 year, which is no of days in 1 year multiplied by the number of hours in a day multiplied by the number of minutes in an hour multiplied by the number of seconds in a minute. Finally, distance is speed multiplied by time, so distance is printed in kilometers and to convert distance in kilometers it is divided by 1000.
It’s used to define the color or sound of a tone .
A mother board is a part of a computer box