Answer:
True
brainly needs more words apparently
Answer:
for count in range(12,15)
Explanation:
This is a 'For' loop in python programming language and it take two or three arguments, the include: start, stop, step)
from the options given we only have two arguments (start, stop)
from my answer, the loop will begin from 12 and ends at (n-1) that's why it prints out 12, 13, and 14 only.
Answer:
#Function for the calculcations needed
function subtotal_gratuity_total(subtotal,gratuity_rate):
gratuity_rate = gratuity_rate/100 #this is assuming the user enters the gratuity as a percentage value (e.g. 15)
gratuity = subtotal*gratuity_rate
total = subtotal+gratuity
return subtotal, gratuity_rate, gratuity, total
#Reading the values the user enters
Output(“Input subtotal”)
input (subtotal)
Output(“Input gratuity rate”)
input (gratuity_rate)
#Calling function we created with the values the user enters as inputs,
#and the 4 values required as outputs
subtotal,gratuity_rate,gratuity, total = subtotal_gratuity_total(subtotal,gratuity_rate)