05 Dec Aurora Tuesday 18:30 Python Practice – 16 20.12.01.
Question:
Write a Python program to create a list by concatenating (joining) a given list [‘p’, ‘q’] which range goes from 1 to n.
Sample Input: n: 5 Sample Output: ['p1', 'q1', 'p2', 'q2', 'p3', 'q3', 'p4', 'q4', 'p5', 'q5']
Sorry, the comment form is closed at this time.