Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Where the ? Please fill in and explain how you programmed . Your tutoring will be highly appreciated . SeoursehwS.py 101: Consider the following variable.

Where the ? Please fill in and explain how you programmed . Your tutoring will be highly appreciated . image text in transcribed
image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Which are non projected Teaching aids in advance learning system?

Answered: 1 week ago