Commit b687652e authored by Manasani suraj's avatar Manasani suraj

movie

parent 969919bf
n=int(input("enter the number of movies"))
movie=[]
actor=[]
for i in range(n):
a=input("enter movie name")
movie.append(a)
b=input("enter respective actor name")
actor.append(b)
print(movie)
print(actor)
c=input("enter the movie you want to retrieve")
d=1
for i in range(n):
if(c==movie[i]):
print(c)
print(actor[i])
d=d+1
if(d==1):
print("movie not found")
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