Question: Where the ? Please fill in and explain how you programmed . Your tutoring will be highly appreciated . SeoursehwS.py 101: Consider the following variable.
SeoursehwS.py 101: Consider the following variable. myvar 1:('name' 'joe', 'age 20), 2:'name' 'John', 'age 101.1: What is the type of this variable. 30)) print ('?'"(myvar)) #1 point #01.2: We want to show joe as the result of the following code, complete the following command such that it shows joe . print (myvar ' ? '?' ) 11 point #01.3: we want to add a new elemen tthe person that we want to add is Mike, 25 years old. t to this variabe, complete the following commands. myvar [3] .?' - #(1 point) myvar[3]'Mike myvar(3]'25 print (myvar) 1Q.2. Consider the variable in the Q1. now, we want to find the average of ages. # complete the following commands. x- "?' #(2 points) for varl in myvar. mean x/2 print (mean) Q.3. we want t write a while loop that asks person's name and his/her age . t the loop continues until person enters No. # fill the blanks, myvar2 . '?' # 2 point me3?age 1 . your name? : " message2Your age?: message3Shall ve continue? (x/N): FlagTrue while 2 name input('2) minput (message3) ee mere, about https://en.wikipodia.org/wi ks/tarmensene an i Assume that we want te pass unknow number of arguments represented by vars to the tune
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
