You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
first = []
second = []
for i in range(len(fruits)):
first.append(fruits[i])
#after this method i am getting the output like below
["orange", "apple", "banana"]
for item in range(len(first)):
print(first[item])
# after this method i am getting the output like this
orange
apple
banana
#i am trying to store the above values inside the second=[]
Need an solution for this
The text was updated successfully, but these errors were encountered:
first = []
second = []
for i in range(len(fruits)):
first.append(fruits[i])
#after this method i am getting the output like below
["orange", "apple", "banana"]
for item in range(len(first)):
print(first[item])
# after this method i am getting the output like this
orange
apple
banana
#i am trying to store the above values inside the second=[]
Need an solution for this
The text was updated successfully, but these errors were encountered: