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']

Related questions

0 votes
asked Sep 9, 2022 in Python by john ganales
0 votes
asked Sep 7, 2022 in Python by sharadyadav1986
...