how to declare list in python
Answers
Answered by
1
Answer:
In Python programming, a list is created by placing all the items (elements) inside square brackets [] , separated by commas. It can have any number of items and they may be of different types (integer, float, string etc.). A list can also have another list as an item.
Explanation:
ᴍᴀʀᴋ ᴀs ʙʀᴀɪɴʟɪsᴛ ᴀɴsᴡᴇʀ
ʜɪᴛ ᴛʜᴇ ʟɪᴋᴇ ᴀɴᴅ ғᴏʟʟᴏᴡ ʙᴜᴛᴛᴏɴ ɢᴇɴᴛʟʏ
Answered by
0
Answer:
In python programs a list is created by al items inside square brackets separated by commas
Similar questions