Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 5 activities['eat, dream'] vowels ' aeiou' for vowel in vowels: for activity in activities: if vowel in activity: break print (activity +, end-) a)

image text in transcribed

Question 5 activities['eat, dream'] vowels ' aeiou' for vowel in vowels: for activity in activities: if vowel in activity: break print (activity +"", end-") a) the empty string b) eat dream c) eat dream eat dream d) eat dream eat dream eat dream e) none of the above Question 6 food_issues[['lactose, 'gluten', ['sugar', 'fat', 'salt'], 'fiber'] print(food_issues[1] [1] [1]) a) IndexError: string index out of range c) f d) fat e) none of the above Question 7 def returnVal(d, x): ifxnd: elif x in d.values): else return 'key return 'value' for v in d.values (): if x in v: return v web {'secure' :('https'], print (returnVal (web, 'm')) 'protocols': ['ftp', 'tcp/ip ' ], "markup":'html5') a) key b) value c) markup d) htm15 e) none of the above

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_2

Step: 3

blur-text-image_3

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

The Database Experts Guide To Database 2

Authors: Bruce L. Larson

1st Edition

0070232679, 978-0070232679

More Books

Students also viewed these Databases questions

Question

Discuss consumer-driven health plans.

Answered: 1 week ago