Professional Documents
Culture Documents
CODING
CODING
CODING
PROJECT
Submitted by:
S. Dharshan
12-B
Index
1.Bornafide Certificate
2.Acknowlegment
3.What is python
4.Why is Python so popular?
5.Why should we learn Python?
6.Coding
7.Output
8.Result
9.Hardware and Software requirement
10.Bibliography
Certificate
CODING
print(" IMAX Theatre Online Ticket Booking Site
")
print("Hi welcome to movie ticket booking: ")
print("where you want to watch movie?:")
print("1,Trichy")
print("2,Chennai ")
print("3,Madurai")
place = int(input("choose your option: "))
print(" ")
print(" ")
print("which theatre do you wish to see movie? ")
print("1,Maris Complex")
print("2,Sona Mina")
print("3,Mega Star")
a = int(input("choose your option: "))
print(" ")
print(" ")
print("which movie do you want to watch?")
print("1,ponniyin Selvan :Part 1 ")
print("2,Prince ")
print("3,Black Adam")
print("4,Sardar")
movie = int(input("choose your movie: "))
print(" ")
print(" ")
print("which screen do you want to watch movie: ")
print("1,MARIS")
print("2,ELITE")
print("3,FORT")
b = int(input("choose your screen: "))
print(" ")
print(" ")
ticket = int(input("number of ticket do you want?: "))
print(" ")
print(" ")
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("
")
print(" Screen 1
")
print("
")
print("A|35|34|33|32|31| |30|29|28|27|26|25| |24|23|22|
21|20|19|18|17|16|15|14|13|12| |11|10|9|8|7|6| |5|4|3|2|1|")
print("B|35|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|
20|19|18|17|16|15|14|13|12|11|10| |9|8|7|6|5|4|3|2|1|")
print("C|30|29|28|27|26|25|24|23|22| |21|20|19|18|17|16|
|15|14|13|12|11|10| |9|8|7|6|5|4|3|2|1|")
print("D|30|29|28|27|26|25|24|23|22| |21|20|19|18|17|16|
|15|14|13|12|11|10| |9|8|7|6|5|4|3|2|1|")
print("E|30|29|28|27|26|25|24|23|22| |21|20|19|18|17|16|
|15|14|13|12|11|10| |9|8|7|6|5|4|3|2|1|")
print("F|30|29|28|27|26|25|24|23|22| |21|20|19|18|17|16|
|15|14|13|12|11|10| |9|8|7|6|5|4|3|2|1|")
print("
")
print("
")
print("G|35|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|
20|19|18|17|16|15|14|13|12|11|10| |9|8|7|6|5|4|3|2|1|")
print("H|35|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|
20|19|18|17|16|15|14|13|12|11|10| |9|8|7|6|5|4|3|2|1|")
print("I|35|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|
20|19|18|17|16|15|14|13|12|11|10| |9|8|7|6|5|4|3|2|1|")
print("J|35|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|
20|19|18|17|16|15|14|13|12|11|10| |9|8|7|6|5|4|3|2|1|")
print("K|35|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|
20|19|18|17|16|15|14|13|12|11|10| |9|8|7|6|5|4|3|2|1|")
print("
")
print("PREMIUM
")
print(" ")
print("A|30|29|28|27|26|25|24|23| |22|21|20|19|18|17|
16|15|14|13|12|11|10|9| |8|7|6|5|4|3|2|1|")
print("B|22|21|20|19|18|17| |16|15|14|13|12|11|
10|9 |8 |7 | |6|5|4|3|2|1|")
print("C|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|20|
19|18|17|16|15|14|13|12|11|10|9| |8|7|6|5|4|3|2|1|")
print("D|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|20|
19|18|17|16|15|14|13|12|11|10|9| |8|7|6|5|4|3|2|1|")
print("E|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|20|
19|18|17|16|15|14|13|12|11|10|9| |8|7|6|5|4|3|2|1|")
print("F|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|20|
19|18|17|16|15|14|13|12|11|10|9| |8|7|6|5|4|3|2|1|")
print("G|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|20|
19|18|17|16|15|14|13|12|11|10|9| |8|7|6|5|4|3|2|1|")
print("H|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|20|
19|18|17|16|15|14|13|12|11|10|9| |8|7|6|5|4|3|2|1|")
print("I|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|20|
19|18|17|16|15|14|13|12|11|10|9| |8|7|6|5|4|3|2|1|")
print("J |30|29|28|27|26|25| |24|23|22|21|20|19|18|17|
16|15|14|13|12|11|10|9 |8 |7| |6|5|4|3|2|1|")
print(" ")
print(" ")
print("K|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|20|
19|18|17|16|15|14|13|12|11|10|9| |8|7|6|5|4|3|2|1|")
print("L|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|20|
19|18|17|16|15|14|13|12|11|10|9| |8|7|6|5|4|3|2|1|")
print("M|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|20|
19|18|17|16|15|14|13|12|11|10|9| |8|7|6|5|4|3|2|1|")
print("N|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|20|
19|18|17|16|15|14|13|12|11|10|9| |8|7|6|5|4|3|2|1|")
print("O|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|20|
19|18|17|16|15|14|13|12|11|10|9| |8|7|6|5|4|3|2|1|")
print("P|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|20|
19|18|17|16|15|14|13|12|11|10|9| |8|7|6|5|4|3|2|1|")
print(" ")
print(" ")
print(" ")
print("
________________________________________________
")
print(" /
__________________________________________ \ ")
print(" | | | | ")
print(" | | | | ")
print(" | | ALL EYES THIS WAY PLEASE | |
")
print(" | | | | ")
print(" | |
__________________________________________| | ")
p print(" \
________________________________________________/
")
print(" ")
print(" ")
seat=input("Please Enter the seat mumbers")
print(" ")
print(" ")
print("choose your time:")
print(time1)
t = input("select your time:")
x = time1[t]
print("rate of single ticket is 160")
y=ticket*160
print(" enjoy movie ")
elif a == 2:
print("
")
print(" Screen 2
")
print(" ")
print(" A |24|23|22|21|20|19|18|17|16|15|14|13|12|11|
10|9 |8 |7|6|5|4|3|2|1|")
print(" B |19|18|17| |16|15|14|13|12|11|10|9 |8 |7|6|
5 |4 | |3|2|1|")
print(" C |19|18|17| |16|15|14|13|12|11|10|9 |8 |7|6|
5 |4 | |3|2|1|")
print(" D |19|18|17| |16|15|14|13|12|11|10|9 |8 |7|6|
5 |4 | |3|2|1|")
print(" ") print(" E
|13|12|11|10|9 |8 |7 |6 |5 |4|3|2 |1 | ")
print("F|27|26|25|24|23|22|21| |20|19|18|17|16|15|14|
13|12|11|10|9|8| |7|6|5|4|3|2|1|")
print("G|27|26|25|24|23|22|21| |20|19|18|17|16|15|14|
13|12|11|10|9|8| |7|6|5|4|3|2|1|")
print("H|27|26|25|24|23|22|21| |20|19|18|17|16|15|14|
13|12|11|10|9|8| |7|6|5|4|3|2|1|")
print("I|27|26|25|24|23|22|21| |20|19|18|17|16|15|14|13|
12|11|10|9|8| |7|6|5|4|3|2|1|")
print("J|27|26|25|24|23|22|21| |20|19|18|17|16|15|14|13|
12|11|10|9|8| |7|6|5|4|3|2|1|")
print(" ")
print(" ")
print("K|27|26|25|24|23|22|21| |20|19|18|17|16|15|14|
13|12|11|10|9|8| |7|6|5|4|3|2|1|")
print("L|27|26|25|24|23|22|21| |20|19|18|17|16|15|14|13|
12|11|10|9|8| |7|6|5|4|3|2|1|")
print("M|27|26|25|24|23|22|21| |20|19|18|17|16|15|14|
13|12|11|10|9|8| |7|6|5|4|3|2|1|")
print("N|27|26|25|24|23|22|21| |20|19|18|17|16|15|14|
13|12|11|10|9|8| |7|6|5|4|3|2|1|")
print("O|27|26|25|24|23|22|21| |20|19|18|17|16|15|14|
13|12|11|10|9|8| |7|6|5|4|3|2|1|")
print(" ")
print(" ")
print(" ")
print("
_____________________________________ ")
print(" / ___________________________________
\ ")
print(" | | | | ")
print(" | | | | ")
print(" | | ALL EYES THIS WAY PLEASE | |
")
print(" | | | | ")
print(" | |
__________________________________| | ")
print(" \
________________________________________/ ")
print(" ")
print(" ")
seat=input("Please Enter the seat mumbers")
print(" ")
print(" ")
print("choose your time:")
print(time2)
t = input("select your time:")
x = time2[t]
print("rate of single ticket is 120")
y=ticket*120
print(" enjoy movie ")
elif a == 3:
print("
")
print(" Screen 3
")
print("
")
print(" A |10|9|8|7|6|5|4|3|2|1|")
print(" B |5|4|3|2|1|")
print(" C |5|4|3|2|1|")
print(" D |5|4|3|2|1|")
print(" E |5|4|3|2|1|")
print(" F |5|4|3|2|1|")
print(" G |8|7|6| |5|4|3|2|1|")
print(" H |8|7|6| |5|4|3|2|1|")
print(" I |8|7|6| |5|4|3|2|1|")
print(" J |8|7|6| |5|4|3|2|1|")
print(" K |8|7|6| |5|4|3|2|1|")
print(" L |8|7|6| |5|4|3|2|1|")
print(" M |8|7|6| |5|4|3|2|1|")
print(" N |8|7|6| |5|4|3|2|1|")
print(" O |8|7|6| |5|4|3|2|1|")
print(" P |8|7|6| |5|4|3|2|1|")
print(" Q |8|7|6| |5|4|3|2|1|")
print(" R |8|7|6| |5|4|3|2|1|")
print(" __________________________________
")
print(" / ____________________________ __ \
")
print(" | | | | ")
print(" | | ALL EYES THIS WAY PLEASE | |
")
print(" | | | | ")
print(" | |_____________________________| |
")
print(" \___________________________________/
")
print(" ")
print(" ")
seat=input("Please Enter the seat mumbers")
print(" ")
print(" ")
print("choose your time:")
print(time3)
t = input("select your time:")
x = time3[t]
print("rate of single ticket is 100")
y=ticket*100
print(" enjoy movie at ")
print(" ")
print(" ")
print("-------------------------------------------------------------------- ")
print(" Invoice Bill ")
print("-------------------------------------------------------------------- ")
print(" ")
if place == 1:
print("the city selected is Trichy")
if place == 2:
print("the city selected is Chennai")
if place == 3:
print("the city selected is Madurai")
if a == 1:
print("the theatre selected is Maris Complex")
if a == 2:
print("the theatre selected is Sona Mina")
if a == 3:
print("the theatre selected is Mega Star")
if movie==1:
print("the movie selected is Ponniyin Selvan : wwPart 1")
if movie==2:
print("the movie selected is Prince")
if movie==3:
print("the movie selected is Black Adam")
if movie==4:
print("the movie selected is Sardar")
if b == 1:
print("the screen selected is MARIS")
if b == 2:
print("the screen selected is ELITE")
if b == 3:
print("the screen selected is FORT")
(Screen shots)
To select the city
Result:
Software requirement:
Windows 10 OS
Python 3.0
Bibliography
Computer Science With Python
By Sumita Arora
www.geeksforgeeks.org