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))
[B], developing the art style guide and production plan.
It wouldn't be [A], because patches are released to consumers of the game, to fix bugs and add new content, which won't be done until post-production.
It wouldn't be [C] either, as it is also post-production, because you are sending the game to produced, packaged and shipped, meaning the game has already been pretty much fully developed.
Answer:
The program in python is as follows:
import math
def traj ect ory(th e ta,x,y,v):
t = ma th . tan(m ath . radians(theta))
c = math . cos(math . radians(theta))
g = 9 . 8
fx = x * t - (1/(2*v**2)) * ((g*x**2)/(c**2))+y
return round(fx,3)
print("x\t f(x)")
for x in range(0,17):
theta = 50
y= 10
v = 10
print(str(x)+"\t"+str(tr aje ctory (the ta,x,y,v)))
Explanation:
The question is incomplete. However, I have written the program to calculate the trajectory values f(x).
<em>See attachment for complete program where comments were used as explanation</em>
Answer C in the paragraph group on the home tab
The answer would more likely be A
If it’s not correct I’m very sorry