sir i am not getting how to take an array as an input in python
Python problem doubt
hello @qudsiya
if all array elements are in same line then
u can simply do
arr=list(map(int,input().split()))
otherwise
if elements in separate line and u r given size of array (say n) then u can try this
arr=[ ] // initialise empty array`
for i in range(n):
arr.append(int(input())