Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

It is an emergency. I want an answer as soon as possible em (Academic) Given the list of names Abd Ar Rahman, bin Muhammed, ibn

It is an emergency. I want an answer as soon as possible
image text in transcribed
em (Academic) Given the list of names "Abd Ar Rahman", "bin Muhammed", "ibn Khaldun", we want to get and display the string of the full name where the names are separated by comma "Abd Ar Rahman bin Muhammed, Ibn Khaldun". To answer the question, drag and drop the statements (below) to their correct position in the code (above). names = ("Abd Ar Rahman", "bin Muhammed", "ibn Khaldun") names = ["Abd Ar Rahman bin Muhammed ibn Khaldun") ifi > 0 ifi > 1 : print(result result = result - result fori in rangelen(names)) result = result + namesi for i in range(len(names). 1)

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

More Books

Students also viewed these Databases questions