Question: Chrome File Edit View History Bookmarks People Window Help a 95% cn Tue 11:43 PM Q E /HCT Portal ???-Practical-Exam-2-1 (anon-jzt x y D H00325599-Abdalla

Chrome File Edit View History Bookmarks People Window Help a 95% cn Tue 11:43 PM Q E /HCT Portal ???-Practical-Exam-2-1 (anon-jzt x y D H00325599-Abdalla Ali Ahme x ee Computer Science question 1 Secure l https://practicalexam21-anon-jz?baw.notebooks.azure.combotebooks/H00325599_Abdalla%20Ali%20Ahmed.ipynb x C Jupyter H00325599 Abdalla Ali Ahmed (autosaved) Azure Notebooks My Libraries Test2-Version-K12166-9-734ad(1) File Edit Viow Insert Cell Kornel Data Widgets Holp Not TrustedPython 3.6 O ?+ 4?? H Run. C Markdown : ?dil Enter/Exit RISE Slideshow
Sample output
cimg src img/Question02_SampleIO.png width '200' height-'200'>
Inside the function: Write the required python statements to calculate the total cost
p> Your function must return the calculated total cost value/p> [Total cost = tota!Persons x pricePerT?cket] (4 Marks - Defining the Function: 2 marks Accepting an input: 1 marks | Returning an output: 1 mark) In : ### Task-2 pWrite a python code that reads price of one ticket and number of persons then calculate total cost using the above-defined function. After that, you need to display the total cost in the bellow format.
Sample output
Kimg src 'img/Question03_SampleIo.png' width-'250' height 250/> (6 Marks - Calling the Function: 2 marks | Display the Output: 2 marks mark) No Errors: 2 17
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
