Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In Python, having trouble with this returning the output of both songs with this code. what am I missing? Quisiera cambiarle el final al cuento

In Python, having trouble with this returning the output of both songs with this code. what am I missing?

image text in transcribed

image text in transcribed

Quisiera cambiarle el final al cuento Las barras y los tragos han sido testigo De el dolor que me causaste y to' lo que hiciste conmigo Un infeliz en el amor, que aun no te supera Que ahora camina solo sin nadie por todas las aceras Preguntndole a Dios si en verdad el amor existe Ayer conoci un cielo sin sol Y un hombre sin suelo Un santo en prision Y una cancin triste sin dueo Y conoc tus ojos negros Y ahora s que no puedo vivir sin ellos yo Le pido al cielo solo un deseo Que en tus ojos yo pueda vivir He recorrido el mundo entero te vengo a decir Words that are in both songs: a ahora al el en no que sin solo print (' Words that are in both songs: ') for j in range (len (song 1)): try: if song 1[j] in song 2 : if song 1[j] not in song 3: song3. append (song 1[j]) except

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

Database Design For Mere Mortals

Authors: Michael J Hernandez

4th Edition

978-0136788041

More Books

Students also viewed these Databases questions

Question

How do you submit a SELECT statement to the DBMS?

Answered: 1 week ago