Answer:
Following is the code in python language
team_names = ('Rockets','Raptors','Warriors','Celtics')#holding the string value
print(team_names[0],team_names[1],team_names[2],team_names[3])#display
Output:
Rockets Raptors Warriors Celtics
Explanation:
Following is the description of above statement .
- Create a dictionary "team_names" that is holding the string value Rockets Raptors Warriors and Celtics.
- Finally we used the print function in that function we pass the index of corresponding dictionary i.e team_names[0] . it will display the first index value similarly we pass team_names[1], team_names[2] team_names[3].
Answer:
if the landing page provides all kind information of information as to that site people usually like it or will most likely enjoy it
BRAINLIEST?????
Explanation:
Answer:
The correct loop is as follows:
for year in range(starting_tuitionYear, ending_tuitionYear, increment):
tuition = startingTuition + rate * startingTuition
startingTuition = tuition
print('Tuition for the year of ' + str(year)+ ' is ' + str(tuition));
Explanation:
Required
The correction to the attached program
Some variables are not needed; so, I've removed the redundant variables.
The main error in the program is in the loop;
After the tuition for each year has been calculated, the startTuition of the next year must be set to the current tuition
<em>See attachment for complete program</em>