Commit f67b1c7e authored by PUJA RANI's avatar PUJA RANI

task1.py

parents
oldlist=["a","b","c","d","e"]
s1="cs251"
s2="software"
def function1(string1,string2,listVariable):
new1=()
new1=zip(string1,string2)
new1=list(new1)
newlist=listVariable+new1
return newlist
print (oldlist)
print(function1(s1,s2,oldlist))
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