Computer Science, asked by malhotrayash776, 5 months ago

write a python program to store informatic practices in a list and display for from same list using slicing​

Answers

Answered by malikvaishali987
0

Answer:

List comprehension is an elegant way to define and create a list in python. We can create lists just like mathematical statements and in one line only. The syntax of list comprehension is easier to grasp.

A list comprehension generally consist of these parts :

Output expression,

Input sequence,

A variable representing a member of the input sequence and

An optional predicate part.

Similar questions