♦ List with same Data Type elements in Python
♣ Example1: List with same Data Type elements in Python
Let us see a Example of array holding square values of integer from 0 to 10. Example
Input:
Output: sq variable(array/list) holds ten values, i.e, squared values of integers from 1 to 10.