Question: all in python code please gexesten f of 2 Qaestion 1. Define and call a function In the code cell below a function is defied



gexesten f of 2 Qaestion 1. Define and call a function In the code cell below a function is defied a. Try to nui the code. Explain whas happens and why b. Now add eoe line of code to call the function and run the code azain. Could you get the code run? Question 2 of 2 Question 2. Add parametersarguments to a function. - R. Revise the code below: so that if accept names as an argument. b. Call the function and test if it wocks as intended. Example output froea your function: when you call the fusction using the name 'Fatmar, the function shoold ourpus: Hello Fatma Hew do you do Fatuna? Question 3. Belor is a faction to add two numbers, Call the finction and pass cio number you woeld like to add as ageureat: code cel3004 In 11 is orf ata yateri (nt,n2) i rewit +ni=0 print (othe va in , reust, ? Question 4. Calt ite furcese to tun and cbock if it worky me intended Conen cetare whefineiningroway,ition Quention 5. Write a fucction that aceepts a number from the uier and returns if it is odd or even. Hint. You actually wrote amilar codes, if not dee samen cobe, earlier in the semeste when yau were covering if elie statemenes. Here yoe onily seed to fam the program into a finction. Queation 6. The code belas is urpoied to comint AFD to LS dotian. Fixit 1int Refer to the codts above for the struckare a function Cose Celi 5 er 6 . Bet varrminilinertercis
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
