Answered step by step
Verified Expert Solution
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
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started