print("Hello")
def myfunc(n):
return lambda a,b:a*n+b
x=myfunc(3)
print(x(5,4))
Programs Based on c/c++/java
print("Hello")
def myfunc(n):
return lambda a,b:a*n+b
x=myfunc(3)
print(x(5,4))
f1=open("new.txt","r")
f2=open("jk.txt","w")
y=[]
for x in f1.readlines():
y.append(x)
f2.write(x)
f2.close()
f1.close()
print(y)