Answers for "list(map(int input().split()))"

2

python map input

list_of_inputs=list(map(int,input().split()))
Posted by: Guest on October-21-2020
0

list(map(int input().split()))

a=list(map(int, input().split()))
b=[]
i=0
while i<len(a):
if a[i]==0 or a[i]==3:
b.append(a[i])
a[i]=0
else:
i+=1
print("A =", a)
print(len(b))
Posted by: Guest on November-01-2021

Python Answers by Framework

Browse Popular Code Answers by Language