0% found this document useful (0 votes)
18 views6 pages

Front PAGE - Project FILE

The document outlines a Computer Science project for the Abu Dhabi Indian School, focusing on a Movie Recommendation System. It includes a Python source code that allows users to add movies, search by genre or title, filter by minimum rating, and update movie ratings. The project is submitted by Adaan Shiji, a student in Class 11, Section AM.

Uploaded by

james
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views6 pages

Front PAGE - Project FILE

The document outlines a Computer Science project for the Abu Dhabi Indian School, focusing on a Movie Recommendation System. It includes a Python source code that allows users to add movies, search by genre or title, filter by minimum rating, and update movie ratings. The project is submitted by Adaan Shiji, a student in Class 11, Section AM.

Uploaded by

james
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

ABU DHABI INDIAN SCHOOL

BRANCH-1, AL WATHBA

COMPUTER SCIENCE
PROJECT
(2024- 2025)

Movie Recommendation System

SUBMITTED BY:

NAME: ADAAN SHIJI

CLASS: 11 SECTION: AM

EXAM NO: 5620


Source code:
movies=eval(input("Enter a list of movies is the format of title, genre and rating:"))

a=int(input("Choose an operation:\n(1) Add a new movie\n(2) Search for a movie by genre \n(3) Search for

a movie by title \n(4) Search for a movie with minimum rating\n(5) Update movie rating \n(6)Quit\n"))

if a==1:

pqrs=0

b=eval(input("Enter movie title, genre and rating:"))

movies.append(b)

print("Successfully added movie")

print(movies)

elif a==2:

b=input("Enter genre:")

pqrs=0

for i in movies:

if i[1].lower()==b.lower():

print(i,"\n")

pqrs=1

if pqrs==0:
print("Invalid input, try again")

elif a==3:

b=input("Enter title:")

pqrs=0

for i in movies:

if i[0].lower()==b.lower():

print(i,"\n")

pqrs=1

if pqrs==0:

print("Invalid input, try again")

elif a==4:

b=float(input("Enter minimum rating:"))

for i in movies:

if i[2]>=b:

print(i,"\n")

elif a==5:

b=input("Enter name of movie:")

for i in movies:

if i[0]==b:

print("Current rating=",i[2])
r=int(input("Enter new rating:"))

i[2]=r

print("Rating successfully updated")

print(i)

elif a==6:

print("You have exited")

else:

print("Invalid input, try again")


OUTPUT:

You might also like