Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please Given the list of names Abd Ar Rahman, bin Muhammed, ibn Khaldun, we want to get and display the string of the full name

image text in transcribed

please

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") result = ifi > 1: for i in range(len(names)+1): names = ["Abd Ar Rahman bin Muhammed, ibn Khaldun"] for i in range(len(names)) : result = result + ifi > 0: result = result + names[i] print(result)

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

SQL Antipatterns Avoiding The Pitfalls Of Database Programming

Authors: Bill Karwin

1st Edition

1680508989, 978-1680508987

More Books

Students also viewed these Databases questions