Answer:
The output is 24
Explanation:
Given
The above code segment
Required
The output
We have (on the first line):




On the second line:

Substitute the value of each variable

Solve the inner brackets


8%3 implies that, the remainder when 8 is divided by 3.
The remainder is 2
So:



<em>Hence, the output is 24</em>
Answer:
35
Explanation:
We will be going inside B array, because he was in second place in array E,and will be the first element of array B, so it's 35
E can be understanded as:
E=[[21, 'dog', 'red'],[35, 'cat', 'blue'],[12, 'fish', 'green']], so, you can see array E as array of arrays or so-called two-dimensional array
<img src=/static/game/image/actions/go.svg alt=' + ugettext(play= button)= += '= style=width: 4%;> ) def noPermissionMessage():
Answer:
PRINT "Values for Principal (P), Rate (A) and Time (T)"
INPUT P, A, T
I = P * A * T/100
Amount = P + I
PRINT "Interest: ", I
PRINT "Amount: ", Amount
Explanation:
This prompts the user for values for Principal, Rate and Time
PRINT "Values for Principal (P), Rate (A) and Time (T)"
This gets values for Principal (P), Rate (R) and Time (T)
INPUT P, A, T
This calculates the interest (I)
I = P * A * T/100
This calculates the amount (A)
Amount = P + I
This prints the interest (I)
PRINT "Interest: ", I
This prints the amount (A)
PRINT "Amount: ", Amount
Answer:
Identify the location of the college stand in advance.
Explanation:
One way to save time and get to the colleges that you are most interested in at a college fair is to find out in advance the information about the fair, the colleges that are participating and from that pick the more interesting ones and identify the location of their stands. Like that when you arrive to the fair you can go directly to them and find them easily which will save you a lot of time as you won't be walking around the whole place to find them.