Skip to content
  • Tutorials
    • c programming
      • libraries
    • c++
    • Linux
    • Python
    • batch programming
    • Technology
  • IDE
  • Tools
how to add array in python 1

how to add array in python

May 13, 2022 by Anurag batra
my_list = []

my_list.append(12)

Here is what the above code is Doing:
1. We create an empty list called my_list.
2. We add the number 12 to the end of my_list.
3. We print my_list.

Categories Python Examples
Post navigation
get all h1 beautifulsoup
python bounding box on image
© MyEduKit - 2022 . All Rights Reserved.