Question: 6.26 Ch. 6 Lab: Pizza - Arbitrary Argument List Define a function called make_pizza that accepts a pizza size in inches and a list of
6.26 Ch. 6 Lab: Pizza - Arbitrary Argument List
Define a function called make_pizza that accepts a pizza size in inches and a list of toppings. The function should use one parameter that accepts as many toppings as the function call provides. The function should print a summary of the pizza that is being ordered.
Ex: If the function call is make_pizza(10, 'pepperoni') then the output is as follows:
in python

Studente 6 lan:PB7a Arbitrany argumant 1 it 6.26 Ch. 6 Lab: Pizza - Arbitrary Argument List accepts as mary toobiags as the tunction call provides The hoction shouit or rt a simmaly of the pzea that is berg ortered Exy if the function cali is rake_fizza\{1e, "pepperoni' 3 then the output is as tolkus Yoi otdecr-t + to-ltich jt tate with 1 tepedng: perpsroni the cutput is as folous Vour pregat must define the functicn ma-ezpzzai, The funcion teaceris prowideo. def nake_pizza(size, "tappings) : 6.26:1.Cli 6 Lat. Pizz: - Arbtrary Angument Lis1 def whe pizza(size, "topsings) s 4 Adi pour function body here Run your prograt as aften asyaub ike, boiare sutomithro far gading. G6iaw, type ary nanded input ialues in the fist box thenclick Run program end obse've the arogaris cutaut in the sanand troo Enter program irput (cptianal) If sour coce reqiars in pust velues pravicie thent here Program output displayed here Codrggtiof ynir wark What astis? History of youz =ffurt will appear here unce you begit wotklng on tiis 2y bub. Activity summary for assignment: Ch. 6 Labs 0/70pis Due 03.052000.9:59 PM PST If 7 To pts sutaritteo to Bla ibcarclearn Completion details *
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
