Answer:
Explanation:
The Python program has been adjusted. Now the pizza ordering function is called from the main() method and not as soon as the file is imported. Also, the random package has been imported so that the random.randint(1,10) can correctly create the 5 random numbers needed. The code has been tested and the output can be seen in the attached image below, correctly matching the desired output.
import random
def pizza(meat="cheese", veggies="onions"):
print("You would like a", meat, "pizza with", veggies)
def main():
# Get the User Input
my_meat = input("What meat would you like? ")
my_veggies = input("What veggie would you like? ")
# Call the Function
pizza(meat=my_meat, veggies=my_veggies)
print("Your random numbers are:")
for i in range(5):
print(random.randint(1, 10))
# Call main function
main()
True. The local view of data focuses on content and meanings of data.
No , each and every person has the right to trial by jury before being arrested
Answer:
n=1
while True:
i=input("What pet do you have? ")
if i=="rock":
break
else:
print("You have a " + i + " with a total of " + str(n) + " pet(s)")
n=n+1
The 3 customizations that can be done using the header/footer section are:
- One can customize a given data,
- Also add or delete columns.
- Also add and also remove information.
<h3>What is the function about?</h3>
A person can customize and also personalize the font and style of the report through the use of the header/footer section in the customize reports tray.
Therefore, The 3 customizations that can be done using the header/footer section are:
- One can customize a given data,
- Also add or delete columns.
- Also add and also remove information.
Learn more about header/footer from
brainly.com/question/14379814
#SPJ1