I think it’s b vertically
Answer:
when they want a certain event to occur when a condition is met
Explanation:
Answer:
The function is as follows:
def concList(aList):
retList = ""
for i in aList:
if(str(i).isdigit()):
retList+=str(i)
else:
retList = "Not digits"
break;
return retList
Explanation:
This defines the function
def concList(aList):
This initializes the return string to an empty string
retList = ""
This iterates through aList
for i in aList:
This converts each element of the list to an empty list and checks if the string is digit
if(str(i).isdigit()):
If yes, the element is concatenated
retList+=str(i)
If otherwise
else:
The return string is set to "No digits"
retList = "Not digits"
And the loop is exited
break;
This returns the return string
return retList
Answer:
Is gaming good for us?
When were video games invented?
What was the first video game?
How are video games made?
does playing video games affect your or my health?
There you go :)