Computer Proje
Computer Proje
_________ _________
INTERNAL EXAMINAR EXTERNALEXMINAR
_____________
PRINCIPAL
ACKNOWLEDGEMENT
I WISH TO EXPRESS MY DEEP GRATITUDE AND
SINCERE THANKS TO PRINCIPAL MR. JAIRAM NAIK
HIS ENCOURAGEMENT AND FOR ALL THE
FACILITIES THAT HE PROVIDE FOR THIS WORK. I
SINCERELY APPRECIATE THIS MAGNANIMITY BY
TAKING ME INTO HIS FOLD FOR WHICH I SHALL
REMAIN INDEBTED TO HIM. I EXTEND MY HEARTY
THANKS TO KOKILA MAM COMPUTER TEACHER
WHO GUIDED ME TO THE SUCESSFUL
COMPLETION OF THIS PROJECT. I TAKE THIS
OPPORTUNITY TO EXPRESS MY DEEP SENSE OF
GRATITUDE FOR HIS IN VALUABLE
GUIDANCE ,CONSTANT ENCOURAGEMENT,
CONSTRUCTIVE COMMENTS , SYMPATHETIC
ATTITUDE AND IMMENSE MOTIVATION , WHICH
HAS SUSTAINED MY EFFORTS IN ALL STAGES OF
THIS PROJECT WORK. I CAN’T FORGET TO OFFER
MY SINCERE THANKS TO MY CLASSMATES WHO
HELPED ME TO CARRY OUT THIS PROJECT WORK
SUCESSFULLY AND FOR THEIR VALUABLE ADVICE
AND SUPPORT ,WHICH I RECEVED FROM THEM
TIME TO TIME.
TABLE OF
CONTENTS-
1 CERTIFICATE
2 ACKNOWLEDGEMENT
3 PYTHON LIBRARIES
AND THEIR PURPOSE
4 CODING
5 REQUIREMENTS
6 BIBLIOGRAPHY
1.
CODE;
def t_movie():
global f
f = f+1
print("which movie do you want to watch?")
print("1,movie 1 ")
print("2,movie 2 ")
print("3,movie 3")
print("4,back")
movie = int(input("choose your movie: "))
if movie == 4:
# in this it goes to center function and
# from center it goes to movie function
# and it comes back here and then go to theater
center()
theater()
return 0
if f == 1:
theater()
# this theater function used to select screen
def theater():
print("which screen do you want to watch movie: ")
print("1,SCREEN 1")
print("2,SCREEN 2")
print("3,SCREEN 3")
a = int(input("choose your screen: "))
ticket = int(input("number of ticket do you want?: "))
timing(a)
# this timing function used to select timing for movie
def timing(a):
time1 = {
"1": "10.00-1.00",
"2": "1.10-4.10",
"3": "4.20-7.20",
"4": "7.30-10.30"
}
time2 = {
"1": "10.15-1.15",
"2": "1.25-4.25",
"3": "4.35-7.35",
"4": "7.45-10.45"
}
time3 = {
"1": "10.30-1.30",
"2": "1.40-4.40",
"3": "4.50-7.50",
"4": "8.00-10.45"
}
if a == 1:
print("choose your time:")
print(time1)
t = input("select your time:")
x = time1[t]
print("successful!, enjoy movie at "+x)
elif a == 2:
print("choose your time:")
print(time2)
t = input("select your time:")
x = time2[t]
print("successful!, enjoy movie at "+x)
elif a == 3:
print("choose your time:")
print(time3)
t = input("select your time:")
x = time3[t]
print("successful!, enjoy movie at "+x)
return 0
def movie(theater):
if theater == 1:
t_movie()
elif theater == 2:
t_movie()
elif theater == 3:
t_movie()
elif theater == 4:
city()
else:
print("wrong choice")
def center():
print("which theater do you wish to see movie? ")
print("1,Inox")
print("2,Icon")
print("3,pvp")
print("4,back")
a = int(input("choose your option: "))
movie(a)
return 0
# this function is used to select city
def city():
print("hi welcome to movie ticket booking: ")
print("where you want to watch movie?:")
print("1,city 1")
print("2,city 2 ")
print("3,city 3 ")
place = int(input("choose your option: "))
if place == 1:
center()
elif place == 2:
center()
elif place == 3:
center()
else:
print("wrong choice")
output;
Hi welcome to movie ticket booking:
where you want to watch movie?:
1,city 1
2,city 2
3,city 3
choose your option: 2
which theater do you wish to see movie?
1,Inox
2,Icon
3,pvp
4,back
choose your option: 1
which movie do you want to watch?
1,movie 1
2,movie 2
3,movie 3
4,back
choose your movie: 3
which screen do you want to watch movie:
1,SCREEN 1
2,SCREEN 2
3,SCREEN 3
choose your screen: 1
number of ticket do you want?: 4
choose your time:
{‘1’: ‘10.00-1.00’, ‘2’: ‘1.10-4.10’, ‘3’: ‘4.20-7.20’, ‘4’: ‘7.30-10.30’}
select your time:2
successful!, enjoy movie at 1.10-4.10
REQUIREMENTS;
HARDWARE REQUIRED > Printer , to
print the required documents of the
project
Compact Drive.
>Processor:Pentium 5
>R:64MB
>Hard disk:20Gb
SOFTWARE REQUIRED
>Operating system:Windows8 or upper
>Python IDLE,for execution of program
>Ms Powerpoint,for presentation of
output
BIBLIOGRAPHY
COMPUTER SCIENCE IN PYTHON
BY:SUMITA ARORA
>Microsoft store
>Google.com
>youtube .com