SlideShare uma empresa Scribd logo
1 de 19
NAME :
CLASS : CLASS XII
ROLL NO. :
AFFILIATION NO.: 830571
Plot No 43/65, Gnanaganganagar, Mallathhalli,
BENGALURU KARNATAKA-560 056
PROJECT DETAILS
SUBJECT: INFORMATICS PRACTICES
TITLE: ‘TicketBEKA?’ Ticket Booking
“THERE ARE TIMES WHEN SILENCE SPEAKS SO
MUCH MORE LOUDLY THAN WORDS OF
PRAISE TO ONLY AS GOOD AS BELITTLE A
PERSON, WHOSE WORDS DO NOT EXPRESS,
BUT ONLY PUT A VENEER OVER TRUE
FEELINGS, WHICH ARE OF GRATITUDE AT THIS
POINT OF TIME.”
I express my gratitude to my teacher and the
faculty of Informatics practices, I acknowledge
the support of our Principal in providing the
laboratory facilities. I am deeply indebted to
the support provided by my parents and
friends who helped me in successfully
completion of this project
1. Introduction
2. Hardware and software
requirements
3. Detailed Design of MYSQL
4. Python Screen Shots
5. Coding
6. Future Enhancements
7. Conclusion
8. Bibliography
Buying tickets for your favorite Movie
after standing in a long queue can be
tiring and inconvenient when you’re in a
hurry. As technology started to reach
the masses, the need of a online ticket
booking service has been fulfilled by
many companies, such as BookMyShow,
PayTM etc.
We have coded a program using Python
and MySQL that allows its users to book
tickets to Movies in selected theatres,
Plays around them, Sport events in their
city.
Before installing this project the following
requirements must be attended to.
HARDWARE REQUIREMENTS:
Processor. Intel ® Pentium ® CPU G2020 @
2.90GHz
RAM: 2:00GB
SOFTWARE REQUIREMENTS:
System Type: 32-Bit Operating System
FRONT END: PythonVersion 3.7.0.
BACK END: MySQL 5.1,5.3 with Connector J
Supported Soft wares: Python Libraries such as
Pandas, Numpy, matplotlib…etc
REGISTER TABLE
LOCATION TABLE
SPORTS TABLE
SHOW TIMINGS TABLE
IMPLEMENTATION
PYTHON OUTPUT SNAPSHOTS
SCREENSHOT 1
SCREENSHOT 2
SCREENSHOT 3
SCREENSHOT 4
SCREENSHOT 5
Coding
import mysql.connector as c
from datetime import date
import prettytable as pt
con=c.connect(host="localhost",user="root",passwd="1234",database="DSL")
cursor=con.cursor()
try:
gold=150
sofa=300
print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~")
print(" ")
print(" TicketBEKA? ")
print("_____________________________________________________________")
print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~")
while(True):
print(" 1. SIGN UP n 2. LOGIN n 3. CLOSE ")
ch=int(input(" Enter your choice "))
if ch==1:
un=int(input(" Enter a five digit number as you Customer number "))
n=input(" Enter customer name ")
PhnoORemail=input(" Enter Phone number/E-mail ID - ")
pwd=input(" Enter six chracter password ")
cpwd=input("CONFIRM six chracter password ")
if pwd==cpwd:
cursor.execute("insert into Register(Cno,Name,PhnoORemail,pwd)
values({},'{}','{}','{}')".format(un,n,PhnoORemail,pwd))
con.commit()
print("Registered Successfully !","nUsername=",un,"nPassword=",pwd)
else:
print("password not matching,please re-enter")
elif ch==2:
un=int(input("Enter you 5 digit Customer number"))
pwd=input("Enter Password")
cursor.execute("Select Cno,pwd from Register where Cno=%s"%(un))
d=cursor.fetchone()
x=d[0]
y=d[1]
while(True):
print("$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$")
print("$$$ CONGRAGULATIONS! YOU HAVE EARNED Rs.500 ON YOUR
TicketBEKA WALLET! $$$")
print("$$$ Select Wallet option in booking payment to claim the
money> $$$")
print("$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$")
print(" Please select your choice for bookingn 1. MOVIES n 2. PLAYS n
3. SPORTS n 4. Exit ")
cx=int(input("Enter your choice "))
if cx==1:
print("""
*******************
*** NOW SHOWING ***
*******************
1. KGF : Chapter 2 (Kannada-3D) [UA]
2. DHOOM 4 (Hindi-2D) [UA]
3. FROZEN (English-3D) [U]
""")
cy=int(input("Select a Movie to book tickets "))
if cy==1:
t=pt.PrettyTable(['NAME OF THEATRE','TIMINGS1','TIMINGS2','TIMINGS3‘
,'GOLD','SOFA'])
cursor.execute("Select * from showtimings")
s=cursor.fetchall()
for i in s:
t.add_row(i)
print(t)
cz=int(input("Select a theatre Option 1 or 2 or 3 ="))
print("select your timings")
ctiming=input("1.10:00AMn2.03:00PM n3.07:00PMn ")
sno=int(input("Enter number of seats = "))
cursor.execute("Select gold,sofa from showtimings")
d=cursor.fetchone()
g=d[0]
e=d[1]
sclass=int(input("Select the type of seat(1:gold/2:sofa)"))
if sclass==1:
cost=sno*g*sclass
elif sclass==2:
cost=sno*g*sclass
print("TOTAL AMOUNT=",cost)
pay=input("Want to proceed to payment using TicketBEKA Wallet n 1. Yes 2. No ")
#done
if pay=='1' :
print(" Transaction completed. Payment successful. ")
print(" Tickets booked! Use your Cno to access Your tickets at the theatre. ")
print("n")
print("n")
else:
print("pay cash in counter,THANK YOU")
elif cy==2:
t=pt.PrettyTable(['NAME OF THEATRE','TIMINGS1','TIMINGS2','TIMINGS3','GOLD','SOFA'])
cursor.execute("Select * from showtimings")
s=cursor.fetchall()
for i in s:
t.add_row(i)
print(t)
cz=int(input("Select a theatre Option 1 or 2 or 3 ="))
print("select your timings")
ctiming=input("1.10:00AMn2.03:00PM n3.07:00PMn")
sno=int(input("Enter number of seats = "))
cursor.execute("Select gold,sofa from showtimings")
d=cursor.fetchone()
g=d[0]
e=d[1]
sclass=int(input("Select the type of seat(1:gold/2:sofa)"))
if sclass==1:
cost=sno*g*sclass
elif sclass==2:
cost=sno*g*sclass
print("TOTAL AMOUNT=",cost)
pay=input("Want to proceed to payment using TicketBEKA Wallet n 1. Yes 2. No ")
if pay=='1':
print(" Transaction completed. Payment successful. ")
print(" Tickets booked! Use your Cno to access Your tickets at the theatre. ")
print("n")
print("n")
else:
print("pay cash in counter,THANK YOU")
elif cy==3:
t=pt.PrettyTable(['NAME OF THEATRE','TIMINGS1','TIMINGS2','TIMINGS3','GOLD','SOFA'])
cursor.execute("Select * from showtimings")
s=cursor.fetchall()
for i in s:
t.add_row(i)
print(t)
cz=int(input("Select a theatre Option 1 or 2 or 3 ="))
print("select your timings")
ctiming=input("1.10:00AMn2.03:00PM n3.07:00PMn")
sno=int(input("Enter number of seats = "))
cursor.execute("Select gold,sofa from showtimings")
d=cursor.fetchone()
g=d[0]
e=d[1]
sclass=int(input("Select the type of seat(1:gold/2:sofa)"))
if sclass==1:
cost=sno*g*sclass
elif sclass==2:
cost=sno*g*sclass
print("TOTAL AMOUNT=",cost)
pay=input("Want to proceed to payment using TicketBEKA Wallet n 1. Yes 2. No ")
#done
if pay=='1':
print(" Transaction completed. Payment successful. ")
print(" Tickets booked! Use your Cno to access Your tickets at the theatre. ")
print("n")
print("n")
else:
print("pay cash in counter,THANK YOU")
elif cx==2:
print('''
|----------------|
|***Around you***|
|----------------|
1.Malegalali Madumagalu
2.Merchant of Venice
''')
cy=int(input("Select your PLAY"))
if cy==1:
t=pt.PrettyTable(['LOCATION','TIMING1','TIMING2'])
cursor.execute("Select * from location")
s=cursor.fetchall()
for i in s:
t.add_row(i)
print(t)
ctiming=input("1.05:00PMn2.08:00PMn")
print("""Class:
1. Gold Rs. 100
2. Sofa Rs. 200""")
sclass=int(input("Select the type of seat"))
sno=int(input("Enter number of seats = "))
if sclass==1:
cost=sno*100*sclass
elif sclass==2:
cost=sno*100*sclass
print("TOTAL AMOUNT=",cost)
pay=input("Want to proceed to payment using TicketBEKA Wallet n 1. Yes 2. No ")
#done
if pay=='1' :
print(" Transaction completed. Payment successful. ")
print(" Tickets booked! Use your Cno to access Your tickets at the theatre. ")
print("n")
print("n")
else:
print("pay cash in counter,THANK YOU")
else:
print("""Class:
1. Gold Rs. 100
2. Sofa Rs. 200""")
sclass=int(input("Select the type of seat"))
sno=int(input("Enter number of seats = "))
if sclass==1:
cost=sno*100*sclass
elif sclass==2:
cost=sno*100*sclass
print("TOTAL AMOUNT=",cost)
pay=input("Want to proceed to payment using TicketBEKA Wallet n 1. Yes 2. No ")
#done
if pay=='1' :
print(" Transaction completed. Payment successful. ")
print(" Tickets booked! Use your Cno to access Your tickets at the theatre. ")
print("n")
print("n")
else:
print("pay cash in counter,THANK YOU")
#Code for sports############################################################################
elif cx==3:
t=pt.PrettyTable(['SlNo','Matches','Stadium','Timings'])
cursor.execute("Select * from SportsTable")
s=cursor.fetchall()
for i in s:
t.add_row(i)
print(t)
cz=int(input("Select a Match. Option 1 or 2 ="))
if cz==1:
print("""Class:
1. G-Stand Rs. 1500
2. Pavilion Rs. 3000""")
sclass=int(input("Select the type of seat"))
sno=int(input("Enter number of seats = "))
if sclass==1:
cost=sno*1500*sclass
elif sclass==2:
cost=sno*1500*sclass
print("TOTAL AMOUNT=",cost)
pay=input("Want to proceed to payment using TicketBEKA Wallet n 1. Yes 2. No ")
#done
if pay=='1' :
print(" Transaction completed. Payment successful. ")
print(" Tickets booked! Use your Cno to access Your tickets at the Stadium ")
print("n")
print("n")
else:
print("pay cash in counter,THANK YOU")
else:
print("""Class:
1. North West Rs. 500
2. Gallery Rs. 1000""")
sclass=int(input("Select the type of seat"))
sno=int(input("Enter number of seats = "))
if sclass==1:
cost=sno*500*sclass
elif sclass==2:
cost=sno*500*sclass
500*sclass
print("TOTAL AMOUNT=",cost)
pay=input("Want to proceed to payment using TicketBEKA Wallet n 1. Yes 2. No ")
#done
if pay=='1' :
print(" Transaction completed. Payment successful. ")
print(" Tickets booked! Use your Cno to access Your tickets at the Stadium ")
print("n")
print("n")
else:
print("pay cash in counter,THANK YOU")
else:
break
else:
print("Invalid Customer number or password")
elif ch==3:
exit()
except Exception as e:
print(e)
FUTURE ENHANCEMENTS
• We can use animation for transitions.
• We can add more choices for selection.
• We can add online payment-transaction
system using their UPI.
• Personalized recommendations of movies
and plays can be enabled using their past
usage history.
• Large amount of data can be managed
through its high performance libraries and
tools.
• User reviews and ratings can be taken to
improve suggestions.
The ‘TicketBEKA?’ Project helped us to
understand how a online booking system
works. It enabled us to understand how
large amount of data is categorized and
stored. It helped us improve our
entrepreneurial skills and creative
thinking. It taught us team management
and coordination.
Bibliography
Books Reffered:
1. Informatics Practices class 12-by
Sumita Arora [Dhanpat Rai and Co]
2. Together with Informatics Practices
study material class 12 by Reeta Sahoo
and Gagan Sahoo
Online:
www.wikipedia.com
www.googleimages.com
www.dev.mysql.com

Mais conteúdo relacionado

Mais procurados

The Ring programming language version 1.5 book - Part 9 of 31
The Ring programming language version 1.5 book - Part 9 of 31The Ring programming language version 1.5 book - Part 9 of 31
The Ring programming language version 1.5 book - Part 9 of 31Mahmoud Samir Fayed
 
Thoughts on MongoDB Analytics
Thoughts on MongoDB AnalyticsThoughts on MongoDB Analytics
Thoughts on MongoDB Analyticsrogerbodamer
 
The Ring programming language version 1.9 book - Part 80 of 210
The Ring programming language version 1.9 book - Part 80 of 210The Ring programming language version 1.9 book - Part 80 of 210
The Ring programming language version 1.9 book - Part 80 of 210Mahmoud Samir Fayed
 
Creating masterpieces with raphael
Creating masterpieces with raphaelCreating masterpieces with raphael
Creating masterpieces with raphaelPippi Labradoodle
 
Slides changes symfony23
Slides changes symfony23Slides changes symfony23
Slides changes symfony23Javier López
 
The Ring programming language version 1.9 book - Part 70 of 210
The Ring programming language version 1.9 book - Part 70 of 210The Ring programming language version 1.9 book - Part 70 of 210
The Ring programming language version 1.9 book - Part 70 of 210Mahmoud Samir Fayed
 
Useful Tools for Making Video Games - Irrlicht (2008)
Useful Tools for Making Video Games - Irrlicht (2008)Useful Tools for Making Video Games - Irrlicht (2008)
Useful Tools for Making Video Games - Irrlicht (2008)Korhan Bircan
 
“A Quaint and Curious Volume of Forgotten Lore,” or an Exercise in Digital Hu...
“A Quaint and Curious Volume of Forgotten Lore,” or an Exercise in Digital Hu...“A Quaint and Curious Volume of Forgotten Lore,” or an Exercise in Digital Hu...
“A Quaint and Curious Volume of Forgotten Lore,” or an Exercise in Digital Hu...Dmitry Zinoviev
 
Students to Business Day 2012: Rob Miles
Students to Business Day 2012: Rob MilesStudents to Business Day 2012: Rob Miles
Students to Business Day 2012: Rob MilesFrederik De Bruyne
 
事件模型探究
事件模型探究事件模型探究
事件模型探究ematrix
 
The Ring programming language version 1.5.3 book - Part 79 of 184
The Ring programming language version 1.5.3 book - Part 79 of 184The Ring programming language version 1.5.3 book - Part 79 of 184
The Ring programming language version 1.5.3 book - Part 79 of 184Mahmoud Samir Fayed
 
Introducing Eager Design
Introducing Eager DesignIntroducing Eager Design
Introducing Eager DesignMarcello Duarte
 
Yet another building metaphor
Yet another building metaphorYet another building metaphor
Yet another building metaphorAslam Khan
 
Esoteric, Obfuscated, Artistic Programming in Ruby
Esoteric, Obfuscated, Artistic Programming in RubyEsoteric, Obfuscated, Artistic Programming in Ruby
Esoteric, Obfuscated, Artistic Programming in Rubymametter
 

Mais procurados (20)

Game dev 101 part 3
Game dev 101 part 3Game dev 101 part 3
Game dev 101 part 3
 
The Ring programming language version 1.5 book - Part 9 of 31
The Ring programming language version 1.5 book - Part 9 of 31The Ring programming language version 1.5 book - Part 9 of 31
The Ring programming language version 1.5 book - Part 9 of 31
 
Game dev 101 part 2
Game dev 101   part 2Game dev 101   part 2
Game dev 101 part 2
 
Thoughts on MongoDB Analytics
Thoughts on MongoDB AnalyticsThoughts on MongoDB Analytics
Thoughts on MongoDB Analytics
 
Mouse and Cat Game In C++
Mouse and Cat Game In C++Mouse and Cat Game In C++
Mouse and Cat Game In C++
 
The Ring programming language version 1.9 book - Part 80 of 210
The Ring programming language version 1.9 book - Part 80 of 210The Ring programming language version 1.9 book - Part 80 of 210
The Ring programming language version 1.9 book - Part 80 of 210
 
Creating masterpieces with raphael
Creating masterpieces with raphaelCreating masterpieces with raphael
Creating masterpieces with raphael
 
Slides changes symfony23
Slides changes symfony23Slides changes symfony23
Slides changes symfony23
 
The Ring programming language version 1.9 book - Part 70 of 210
The Ring programming language version 1.9 book - Part 70 of 210The Ring programming language version 1.9 book - Part 70 of 210
The Ring programming language version 1.9 book - Part 70 of 210
 
Useful Tools for Making Video Games - Irrlicht (2008)
Useful Tools for Making Video Games - Irrlicht (2008)Useful Tools for Making Video Games - Irrlicht (2008)
Useful Tools for Making Video Games - Irrlicht (2008)
 
“A Quaint and Curious Volume of Forgotten Lore,” or an Exercise in Digital Hu...
“A Quaint and Curious Volume of Forgotten Lore,” or an Exercise in Digital Hu...“A Quaint and Curious Volume of Forgotten Lore,” or an Exercise in Digital Hu...
“A Quaint and Curious Volume of Forgotten Lore,” or an Exercise in Digital Hu...
 
Students to Business Day 2012: Rob Miles
Students to Business Day 2012: Rob MilesStudents to Business Day 2012: Rob Miles
Students to Business Day 2012: Rob Miles
 
事件模型探究
事件模型探究事件模型探究
事件模型探究
 
The Ring programming language version 1.5.3 book - Part 79 of 184
The Ring programming language version 1.5.3 book - Part 79 of 184The Ring programming language version 1.5.3 book - Part 79 of 184
The Ring programming language version 1.5.3 book - Part 79 of 184
 
Introducing Eager Design
Introducing Eager DesignIntroducing Eager Design
Introducing Eager Design
 
Game playing
Game playingGame playing
Game playing
 
Yet another building metaphor
Yet another building metaphorYet another building metaphor
Yet another building metaphor
 
Windows Phone: From Idea to Published Game in 75 minutes
Windows Phone: From Idea to Published Game in 75 minutesWindows Phone: From Idea to Published Game in 75 minutes
Windows Phone: From Idea to Published Game in 75 minutes
 
Esoteric, Obfuscated, Artistic Programming in Ruby
Esoteric, Obfuscated, Artistic Programming in RubyEsoteric, Obfuscated, Artistic Programming in Ruby
Esoteric, Obfuscated, Artistic Programming in Ruby
 
Python 1
Python 1Python 1
Python 1
 

Semelhante a TicketBEKA? Ticket booking

AI_Lab_File()[1]sachin_final (1).pdf
AI_Lab_File()[1]sachin_final (1).pdfAI_Lab_File()[1]sachin_final (1).pdf
AI_Lab_File()[1]sachin_final (1).pdfpankajkaushik2216
 
c++ project
c++ projectc++ project
c++ projectTrish004
 
simple-movie-ticket-booking-system-1
simple-movie-ticket-booking-system-1simple-movie-ticket-booking-system-1
simple-movie-ticket-booking-system-1Ajay132002
 
Stupid Awesome Python Tricks
Stupid Awesome Python TricksStupid Awesome Python Tricks
Stupid Awesome Python TricksBryan Helmig
 
computer science project on movie booking system
computer science project on movie booking systemcomputer science project on movie booking system
computer science project on movie booking systemAnurag Yadav
 
Game programming-help
Game programming-helpGame programming-help
Game programming-helpSteve Nash
 
Computer science project work on C++
Computer science project work on C++Computer science project work on C++
Computer science project work on C++NARESH KUMAR
 
cape computer science unit 1 2016
cape computer science unit 1 2016cape computer science unit 1 2016
cape computer science unit 1 2016DE Realest Thomas
 
The following is my code for a connectn program. When I run my code .pdf
The following is my code for a connectn program. When I run my code .pdfThe following is my code for a connectn program. When I run my code .pdf
The following is my code for a connectn program. When I run my code .pdfeyelineoptics
 
Visual Component Testing -- w/ Gil Tayar (Applitools) and Gleb Bahmutov (Cyp...
Visual Component Testing  -- w/ Gil Tayar (Applitools) and Gleb Bahmutov (Cyp...Visual Component Testing  -- w/ Gil Tayar (Applitools) and Gleb Bahmutov (Cyp...
Visual Component Testing -- w/ Gil Tayar (Applitools) and Gleb Bahmutov (Cyp...Applitools
 
Python for High School Programmers
Python for High School ProgrammersPython for High School Programmers
Python for High School ProgrammersSiva Arunachalam
 
In Java using Eclipse, Im suppose to write a class that encapsulat.pdf
In Java using Eclipse, Im suppose to write a class that encapsulat.pdfIn Java using Eclipse, Im suppose to write a class that encapsulat.pdf
In Java using Eclipse, Im suppose to write a class that encapsulat.pdfanjandavid
 
MongoDB Analytics
MongoDB AnalyticsMongoDB Analytics
MongoDB Analyticsdatablend
 
Perl使いの国のRubyist
Perl使いの国のRubyistPerl使いの国のRubyist
Perl使いの国のRubyistTakafumi ONAKA
 
ma project
ma projectma project
ma projectAisu
 
Arduino coding class
Arduino coding classArduino coding class
Arduino coding classJonah Marrs
 
C++ class 12 cbse quiz programming (Compiled using Turbo C++)
C++ class 12 cbse quiz programming (Compiled using Turbo C++)C++ class 12 cbse quiz programming (Compiled using Turbo C++)
C++ class 12 cbse quiz programming (Compiled using Turbo C++)Adarsh Pandit
 
The Ring programming language version 1.7 book - Part 64 of 196
The Ring programming language version 1.7 book - Part 64 of 196The Ring programming language version 1.7 book - Part 64 of 196
The Ring programming language version 1.7 book - Part 64 of 196Mahmoud Samir Fayed
 

Semelhante a TicketBEKA? Ticket booking (20)

AI_Lab_File()[1]sachin_final (1).pdf
AI_Lab_File()[1]sachin_final (1).pdfAI_Lab_File()[1]sachin_final (1).pdf
AI_Lab_File()[1]sachin_final (1).pdf
 
c++ project
c++ projectc++ project
c++ project
 
simple-movie-ticket-booking-system-1
simple-movie-ticket-booking-system-1simple-movie-ticket-booking-system-1
simple-movie-ticket-booking-system-1
 
Stupid Awesome Python Tricks
Stupid Awesome Python TricksStupid Awesome Python Tricks
Stupid Awesome Python Tricks
 
computer science project on movie booking system
computer science project on movie booking systemcomputer science project on movie booking system
computer science project on movie booking system
 
Game programming-help
Game programming-helpGame programming-help
Game programming-help
 
RandomGuessingGame
RandomGuessingGameRandomGuessingGame
RandomGuessingGame
 
Computer science project work on C++
Computer science project work on C++Computer science project work on C++
Computer science project work on C++
 
Rabia
RabiaRabia
Rabia
 
cape computer science unit 1 2016
cape computer science unit 1 2016cape computer science unit 1 2016
cape computer science unit 1 2016
 
The following is my code for a connectn program. When I run my code .pdf
The following is my code for a connectn program. When I run my code .pdfThe following is my code for a connectn program. When I run my code .pdf
The following is my code for a connectn program. When I run my code .pdf
 
Visual Component Testing -- w/ Gil Tayar (Applitools) and Gleb Bahmutov (Cyp...
Visual Component Testing  -- w/ Gil Tayar (Applitools) and Gleb Bahmutov (Cyp...Visual Component Testing  -- w/ Gil Tayar (Applitools) and Gleb Bahmutov (Cyp...
Visual Component Testing -- w/ Gil Tayar (Applitools) and Gleb Bahmutov (Cyp...
 
Python for High School Programmers
Python for High School ProgrammersPython for High School Programmers
Python for High School Programmers
 
In Java using Eclipse, Im suppose to write a class that encapsulat.pdf
In Java using Eclipse, Im suppose to write a class that encapsulat.pdfIn Java using Eclipse, Im suppose to write a class that encapsulat.pdf
In Java using Eclipse, Im suppose to write a class that encapsulat.pdf
 
MongoDB Analytics
MongoDB AnalyticsMongoDB Analytics
MongoDB Analytics
 
Perl使いの国のRubyist
Perl使いの国のRubyistPerl使いの国のRubyist
Perl使いの国のRubyist
 
ma project
ma projectma project
ma project
 
Arduino coding class
Arduino coding classArduino coding class
Arduino coding class
 
C++ class 12 cbse quiz programming (Compiled using Turbo C++)
C++ class 12 cbse quiz programming (Compiled using Turbo C++)C++ class 12 cbse quiz programming (Compiled using Turbo C++)
C++ class 12 cbse quiz programming (Compiled using Turbo C++)
 
The Ring programming language version 1.7 book - Part 64 of 196
The Ring programming language version 1.7 book - Part 64 of 196The Ring programming language version 1.7 book - Part 64 of 196
The Ring programming language version 1.7 book - Part 64 of 196
 

Último

WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationJuha-Pekka Tolvanen
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...masabamasaba
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...masabamasaba
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareJim McKeeth
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...masabamasaba
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...masabamasaba
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benonimasabamasaba
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Bert Jan Schrijver
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...Jittipong Loespradit
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrainmasabamasaba
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...SelfMade bd
 

Último (20)

WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 

TicketBEKA? Ticket booking

  • 1. NAME : CLASS : CLASS XII ROLL NO. : AFFILIATION NO.: 830571 Plot No 43/65, Gnanaganganagar, Mallathhalli, BENGALURU KARNATAKA-560 056 PROJECT DETAILS SUBJECT: INFORMATICS PRACTICES TITLE: ‘TicketBEKA?’ Ticket Booking
  • 2. “THERE ARE TIMES WHEN SILENCE SPEAKS SO MUCH MORE LOUDLY THAN WORDS OF PRAISE TO ONLY AS GOOD AS BELITTLE A PERSON, WHOSE WORDS DO NOT EXPRESS, BUT ONLY PUT A VENEER OVER TRUE FEELINGS, WHICH ARE OF GRATITUDE AT THIS POINT OF TIME.” I express my gratitude to my teacher and the faculty of Informatics practices, I acknowledge the support of our Principal in providing the laboratory facilities. I am deeply indebted to the support provided by my parents and friends who helped me in successfully completion of this project
  • 3. 1. Introduction 2. Hardware and software requirements 3. Detailed Design of MYSQL 4. Python Screen Shots 5. Coding 6. Future Enhancements 7. Conclusion 8. Bibliography
  • 4. Buying tickets for your favorite Movie after standing in a long queue can be tiring and inconvenient when you’re in a hurry. As technology started to reach the masses, the need of a online ticket booking service has been fulfilled by many companies, such as BookMyShow, PayTM etc. We have coded a program using Python and MySQL that allows its users to book tickets to Movies in selected theatres, Plays around them, Sport events in their city.
  • 5. Before installing this project the following requirements must be attended to. HARDWARE REQUIREMENTS: Processor. Intel ® Pentium ® CPU G2020 @ 2.90GHz RAM: 2:00GB SOFTWARE REQUIREMENTS: System Type: 32-Bit Operating System FRONT END: PythonVersion 3.7.0. BACK END: MySQL 5.1,5.3 with Connector J Supported Soft wares: Python Libraries such as Pandas, Numpy, matplotlib…etc
  • 11. Coding import mysql.connector as c from datetime import date import prettytable as pt con=c.connect(host="localhost",user="root",passwd="1234",database="DSL") cursor=con.cursor() try: gold=150 sofa=300 print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~") print(" ") print(" TicketBEKA? ") print("_____________________________________________________________") print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~") while(True): print(" 1. SIGN UP n 2. LOGIN n 3. CLOSE ") ch=int(input(" Enter your choice ")) if ch==1: un=int(input(" Enter a five digit number as you Customer number ")) n=input(" Enter customer name ") PhnoORemail=input(" Enter Phone number/E-mail ID - ") pwd=input(" Enter six chracter password ") cpwd=input("CONFIRM six chracter password ") if pwd==cpwd: cursor.execute("insert into Register(Cno,Name,PhnoORemail,pwd) values({},'{}','{}','{}')".format(un,n,PhnoORemail,pwd)) con.commit() print("Registered Successfully !","nUsername=",un,"nPassword=",pwd) else: print("password not matching,please re-enter") elif ch==2: un=int(input("Enter you 5 digit Customer number")) pwd=input("Enter Password") cursor.execute("Select Cno,pwd from Register where Cno=%s"%(un)) d=cursor.fetchone() x=d[0] y=d[1]
  • 12. while(True): print("$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$") print("$$$ CONGRAGULATIONS! YOU HAVE EARNED Rs.500 ON YOUR TicketBEKA WALLET! $$$") print("$$$ Select Wallet option in booking payment to claim the money> $$$") print("$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$") print(" Please select your choice for bookingn 1. MOVIES n 2. PLAYS n 3. SPORTS n 4. Exit ") cx=int(input("Enter your choice ")) if cx==1: print(""" ******************* *** NOW SHOWING *** ******************* 1. KGF : Chapter 2 (Kannada-3D) [UA] 2. DHOOM 4 (Hindi-2D) [UA] 3. FROZEN (English-3D) [U] """) cy=int(input("Select a Movie to book tickets ")) if cy==1: t=pt.PrettyTable(['NAME OF THEATRE','TIMINGS1','TIMINGS2','TIMINGS3‘ ,'GOLD','SOFA']) cursor.execute("Select * from showtimings") s=cursor.fetchall() for i in s: t.add_row(i) print(t) cz=int(input("Select a theatre Option 1 or 2 or 3 =")) print("select your timings") ctiming=input("1.10:00AMn2.03:00PM n3.07:00PMn ") sno=int(input("Enter number of seats = ")) cursor.execute("Select gold,sofa from showtimings")
  • 13. d=cursor.fetchone() g=d[0] e=d[1] sclass=int(input("Select the type of seat(1:gold/2:sofa)")) if sclass==1: cost=sno*g*sclass elif sclass==2: cost=sno*g*sclass print("TOTAL AMOUNT=",cost) pay=input("Want to proceed to payment using TicketBEKA Wallet n 1. Yes 2. No ") #done if pay=='1' : print(" Transaction completed. Payment successful. ") print(" Tickets booked! Use your Cno to access Your tickets at the theatre. ") print("n") print("n") else: print("pay cash in counter,THANK YOU") elif cy==2: t=pt.PrettyTable(['NAME OF THEATRE','TIMINGS1','TIMINGS2','TIMINGS3','GOLD','SOFA']) cursor.execute("Select * from showtimings") s=cursor.fetchall() for i in s: t.add_row(i) print(t) cz=int(input("Select a theatre Option 1 or 2 or 3 =")) print("select your timings") ctiming=input("1.10:00AMn2.03:00PM n3.07:00PMn") sno=int(input("Enter number of seats = ")) cursor.execute("Select gold,sofa from showtimings") d=cursor.fetchone() g=d[0] e=d[1] sclass=int(input("Select the type of seat(1:gold/2:sofa)")) if sclass==1: cost=sno*g*sclass elif sclass==2: cost=sno*g*sclass print("TOTAL AMOUNT=",cost) pay=input("Want to proceed to payment using TicketBEKA Wallet n 1. Yes 2. No ") if pay=='1': print(" Transaction completed. Payment successful. ") print(" Tickets booked! Use your Cno to access Your tickets at the theatre. ") print("n") print("n") else: print("pay cash in counter,THANK YOU")
  • 14. elif cy==3: t=pt.PrettyTable(['NAME OF THEATRE','TIMINGS1','TIMINGS2','TIMINGS3','GOLD','SOFA']) cursor.execute("Select * from showtimings") s=cursor.fetchall() for i in s: t.add_row(i) print(t) cz=int(input("Select a theatre Option 1 or 2 or 3 =")) print("select your timings") ctiming=input("1.10:00AMn2.03:00PM n3.07:00PMn") sno=int(input("Enter number of seats = ")) cursor.execute("Select gold,sofa from showtimings") d=cursor.fetchone() g=d[0] e=d[1] sclass=int(input("Select the type of seat(1:gold/2:sofa)")) if sclass==1: cost=sno*g*sclass elif sclass==2: cost=sno*g*sclass print("TOTAL AMOUNT=",cost) pay=input("Want to proceed to payment using TicketBEKA Wallet n 1. Yes 2. No ") #done if pay=='1': print(" Transaction completed. Payment successful. ") print(" Tickets booked! Use your Cno to access Your tickets at the theatre. ") print("n") print("n") else: print("pay cash in counter,THANK YOU") elif cx==2: print(''' |----------------| |***Around you***| |----------------| 1.Malegalali Madumagalu 2.Merchant of Venice ''') cy=int(input("Select your PLAY")) if cy==1: t=pt.PrettyTable(['LOCATION','TIMING1','TIMING2']) cursor.execute("Select * from location") s=cursor.fetchall() for i in s: t.add_row(i) print(t) ctiming=input("1.05:00PMn2.08:00PMn") print("""Class: 1. Gold Rs. 100 2. Sofa Rs. 200""")
  • 15. sclass=int(input("Select the type of seat")) sno=int(input("Enter number of seats = ")) if sclass==1: cost=sno*100*sclass elif sclass==2: cost=sno*100*sclass print("TOTAL AMOUNT=",cost) pay=input("Want to proceed to payment using TicketBEKA Wallet n 1. Yes 2. No ") #done if pay=='1' : print(" Transaction completed. Payment successful. ") print(" Tickets booked! Use your Cno to access Your tickets at the theatre. ") print("n") print("n") else: print("pay cash in counter,THANK YOU") else: print("""Class: 1. Gold Rs. 100 2. Sofa Rs. 200""") sclass=int(input("Select the type of seat")) sno=int(input("Enter number of seats = ")) if sclass==1: cost=sno*100*sclass elif sclass==2: cost=sno*100*sclass print("TOTAL AMOUNT=",cost) pay=input("Want to proceed to payment using TicketBEKA Wallet n 1. Yes 2. No ") #done if pay=='1' : print(" Transaction completed. Payment successful. ") print(" Tickets booked! Use your Cno to access Your tickets at the theatre. ") print("n") print("n") else: print("pay cash in counter,THANK YOU")
  • 16. #Code for sports############################################################################ elif cx==3: t=pt.PrettyTable(['SlNo','Matches','Stadium','Timings']) cursor.execute("Select * from SportsTable") s=cursor.fetchall() for i in s: t.add_row(i) print(t) cz=int(input("Select a Match. Option 1 or 2 =")) if cz==1: print("""Class: 1. G-Stand Rs. 1500 2. Pavilion Rs. 3000""") sclass=int(input("Select the type of seat")) sno=int(input("Enter number of seats = ")) if sclass==1: cost=sno*1500*sclass elif sclass==2: cost=sno*1500*sclass print("TOTAL AMOUNT=",cost) pay=input("Want to proceed to payment using TicketBEKA Wallet n 1. Yes 2. No ") #done if pay=='1' : print(" Transaction completed. Payment successful. ") print(" Tickets booked! Use your Cno to access Your tickets at the Stadium ") print("n") print("n") else: print("pay cash in counter,THANK YOU") else: print("""Class: 1. North West Rs. 500 2. Gallery Rs. 1000""") sclass=int(input("Select the type of seat")) sno=int(input("Enter number of seats = ")) if sclass==1: cost=sno*500*sclass elif sclass==2: cost=sno*500*sclass 500*sclass print("TOTAL AMOUNT=",cost) pay=input("Want to proceed to payment using TicketBEKA Wallet n 1. Yes 2. No ") #done if pay=='1' : print(" Transaction completed. Payment successful. ") print(" Tickets booked! Use your Cno to access Your tickets at the Stadium ") print("n") print("n") else: print("pay cash in counter,THANK YOU") else: break else: print("Invalid Customer number or password") elif ch==3: exit() except Exception as e: print(e)
  • 17. FUTURE ENHANCEMENTS • We can use animation for transitions. • We can add more choices for selection. • We can add online payment-transaction system using their UPI. • Personalized recommendations of movies and plays can be enabled using their past usage history. • Large amount of data can be managed through its high performance libraries and tools. • User reviews and ratings can be taken to improve suggestions.
  • 18. The ‘TicketBEKA?’ Project helped us to understand how a online booking system works. It enabled us to understand how large amount of data is categorized and stored. It helped us improve our entrepreneurial skills and creative thinking. It taught us team management and coordination.
  • 19. Bibliography Books Reffered: 1. Informatics Practices class 12-by Sumita Arora [Dhanpat Rai and Co] 2. Together with Informatics Practices study material class 12 by Reeta Sahoo and Gagan Sahoo Online: www.wikipedia.com www.googleimages.com www.dev.mysql.com