Answer:
def print_nested_list(lst):
for sub_list in lst:
print(*sub_list)
lst = [["Test"], ["Example", "Online"]]
print_nested_list(lst)
Step-by-step explanation:
Create a function named print_nested_list that takes one parameter, lst
Inside the function, create a for loop that iterates through the lst
Inside the for loop, print each sublist by using print(*sub_list)
(*sub_list allows us to unpack the lst so that we will be able to reach each sublist inside the lst)
Call the function to test with a nested list