Not to be rude, but this is elementary school. How would anyone know this?
If you attach a photo, that might help
<span>C.
Move to the next cell down.</span>
Answer:
Below are the python Program for the above question:
Explanation:
keysList =[1,61,68,64]#key list items.
itemsList =[1,2,3,4]#item list items.
for x in range(len(keysList)):#for loop.
if(keysList[x]>60):#check the value to be greator.
print(itemsList[x],end=";")#print the value.
Output:
- The above code will print as "2;3;4;".
Code Explanation:
- The above code is in python language, in which the first and second line of the code defines a list. That list can be changed by the user when he wants.
- Then there is a or loop that scans the keylist items and matches the items that it is greater than 60 or not. If it then takes the location and prints the itemlist by the help of that location.
Answer:
In Python:
def meters_to_laps(length):
lap = length/50
print('{:.2f}'.format(lap))
Explanation:
This line defines the function
def meters_to_laps(length):
This calculates the number of laps
lap = length/50
This prints the calculated number of laps
print('{:.2f}'.format(lap))
To call the function from main, use:
<em>meters_to_laps(150)</em>