1.

What are the various ways to create a list in Python?

Answer» we can make or create lists with square brackets like a = [2,5,"science"]this is a list where "a" is an identifier and 2 and 5 are integers and \'science \' is a stringif you print it thenprint(a) then it will give the output[2, 5, \'science\']
Send the answers fastly


Discussion

No Comment Found