Commit a4e6a019 authored by Sanjna's avatar Sanjna

Upload new file

parent 3cb2bc16
from q2 import collapse
L = [["this","is"],["an","interesting","python"],["programming","exercise."]]
l=collapse(L)
print(l)
L = [["this","is","a","bad","problem"]]
l=collapse(L)
print(l)
L = [["this"],["is"],["the"],["easiest"],["problem"],["of"],["this"],["outlab"]]
l=collapse(L)
print(l)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment