1. To track inventory on excel you should have thorough knowledge on how it is used and different techniques and buttons behave on it. Tracking inventory may use formulas for example the total amount of items sold for the specific day. So where to right formulas and how to use them should be learned.
2.Track personal loan will take a little knowledge about the tool and again here also a little amount of formulas can be used and thus will need a little knowledge that where to write them but will need less knowledge than first one.
3.Evaluation of commitments will need a very low knowledge about tool and can be used easily.
4. Track a project It also need a little knowledge about the tool and will need least knowledge if compared with other options.
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.
Answer:
def fizzbuzz (num):
for item in range(num):
if item % 2 == 0 and item % 3 == 0:
print("fizzbuzz")
elif item % 3 == 0:
print("buzz")
elif item % 2 == 0:
print("fizz")
else:
print (item)
fizzbuzz(20)
Explanation:
Using Python programming Language
Use a for loop to iterate from 0 up to the number using the range function
Within the for loop use the modulo (%) operator to determine divisibility by 2 and 3 and print the required output
see attached program output screen.
If you attach a photo, that might help