0 votes
in Python by
What are arrays in Python?

1 Answer

0 votes
by
Arrays store multiple values in one single variable. For example, you could create an array “faang” which included Facebook, Apple, Amazon, Netflix and Google.

Example:

faang = ["facebook", "apple", "amazon", "netflix", "google"]

print(faang)

Output:

['facebook', 'apple', 'amazon', 'netflix', 'google']
...