Answer:
integer
Explanation:
this data type must be a number, but it will always be a whole number, so boolean is not appropriate. This means that it will be integer data type
Select the whole document by pressing Ctrl+a.
Question:
Write one for loop to print out each element of the list several_things. Then, write another for loop to print out the TYPE of each element of the list several_things.
Answer:
The solution in python is as follows:
for element in several_things:
print(element)
for element in several_things:
print(type(element))
Explanation:
The solution assumes that the list several_things has already been initialized.
So, the rest of the code is explained as follows:
This line iterates through the list, several_things
for element in several_things:
This line prints each element
print(element)
This line iterates through the list, several_things for the second time
for element in several_things:
This line prints the type of each element
print(type(element))
Something like this?
h1 = int(input())
m1 = int(input())
s1 = int(input())
h2 = int(input())
m2 = int(input())
s2 = int(input())
s = h2*3600 + m2*60 + s2 - (h1*3600 + m1*60 + s1)
print(s)
It's a test Where you can research your answers Like the internet,Library,etc to find your answers.