Commit be1f98dd authored by RAJAT KAPOOR's avatar RAJAT KAPOOR

Task1

parents
#!/usr/bin/python
st1 = 'rajatkapoor'
st2 = 'fenilvanvi'
listVariable = [3,17,37,17,69]
def function1(string1,string2,listVariable):
a = list(string1)
b = list(string2)
z=zip(a,b)
z=list(z)
return listVariable + z
p=function1(st1,st2,listVariable)
print(listVariable)
print(p)
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