in Python by
Q:
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
+1 vote
asked Feb 15, 2021 in Python by SakshiSharma
+1 vote
asked Feb 13 in Python by rajeshsharma
0 votes
asked Oct 27, 2022 in Python by SakshiSharma
...