Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please write the answers clearly. Lab5 Labs.py 1 Lab 5 2 # What will the following Program Print listi - [chr(100), Audi, CA, General Motors,

Please write the answers clearly.

image text in transcribed

Lab5 Labs.py 1 Lab 5 2 # What will the following Program Print listi - [chr(100), "Audi", "CA", "General Motors", "Ford", "Dady, "5" + chr (102) oli ll. Bol o print (listi y flawers - ("Marigold", -5), ("Tulip", 2), ("Daffodils", ), ("Alstroemeria" 1) flowers. SOTT() 10 print flower) 12 x1 = 3 18 yl - 5 14 x2 - 'Agapanthus 15 y2 = 'SUNT or Bethlehem 18x3 - 1.2.3 17 y3 = 1.2.3 w print (xl is not yl) 22 print (x2 is y2) 3d print (x3 is y3) X- y = Ran Ralm Flower 1:-1.2: 'a') 27 s printi' in ) 30 printi 'Bal' not in x) St print (1 in ) 92 printra in y txt - " Iello from the outside At least, I can say that I've tried 36 x = txt.start with("outside. 17. 23) print" is " + str(x)) S tuplex = 5, 10, 15, 20, 25 so print tuplex) tuplex = 5.15 printtuplex) utup - ('T', 'o', '1', 'e', 'y', 'p', '0','1', 'e', 'y') 15 tupl = " join tup) printtupi) 17 tuplex 2 4. 5. 6. 2. 3. 4. 4. 7 29 printi tuplex)

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

Recommended Textbook for

1 2 3 Data Base Techniques

Authors: Dick Andersen

1st Edition

0880223464, 978-0880223461

More Books

Students also viewed these Databases questions

Question

4. Devise an interview strategy from the interviewers point of view

Answered: 1 week ago