Write a Python program to print a specified list after removing the 0th, 4th and 5th elements
- برمجة
- برمجة بايثون
- 2021-04-15
- salsabeelalhams99111801528
الأجوبة
color = ['Red', 'Green', 'White', 'Black', 'Pink', 'Yellow']
color = [x for (i,x) in enumerate(color) if i not in (0,4,5)]
print(color)أسئلة مشابهة
القوائم الدراسية التي ينتمي لها السؤال