0% found this document useful (0 votes)
25 views30 pages

Wordfileproject

The document describes a Python program that allows a user to book movie tickets online. The user can select from a list of movies, dates, times, seats, ticket type (luxury or normal), and snacks. Based on the user's selections, the program calculates the ticket cost and allows the user to pay using Paytm or credit card. It then generates and displays the user's ticket details.

Uploaded by

jadaunpalak000
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)
25 views30 pages

Wordfileproject

The document describes a Python program that allows a user to book movie tickets online. The user can select from a list of movies, dates, times, seats, ticket type (luxury or normal), and snacks. Based on the user's selections, the program calculates the ticket cost and allows the user to pay using Paytm or credit card. It then generates and displays the user's ticket details.

Uploaded by

jadaunpalak000
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/ 30

print("𝓛𝓲𝓽𝓮𝓻𝓪𝓻𝔂 𝓑𝓛𝓞𝓒𝓚𝓑𝓤𝓢𝓣𝓔𝓡 𝓶𝓸𝓿𝓲𝓮 𝓽𝓲𝓬𝓴𝓮𝓽

𝓫𝓸𝓸𝓴𝓲𝓷𝓰 𝓼𝓲𝓽𝓮")

a=input("𝓔𝓷𝓽𝓮𝓻 𝔂𝓸𝓾𝓻 𝓷𝓪𝓶𝓮:")

print("𝓗𝓔𝓛𝓛𝓞!",a," 𝓦𝓮𝓵𝓬𝓸𝓶𝓮 𝓽𝓸 𝓸𝓾𝓻 𝓼𝓲𝓽𝓮. 𝓦𝓮


𝔀𝓲𝓼𝓱 𝔂𝓸𝓾 𝓱𝓪𝓿𝓮 𝓪 𝓰𝓸𝓸𝓭 𝓮𝔁𝓹𝓮𝓻𝓲𝓮𝓷𝓬𝓮 𝓪𝓱𝓮𝓪𝓭 ➡ ")

print("Movies running:")

g=[]

print(" 1-RRR")

print(" 2-Jawan")

print(" 3-URI: The surgical strike ")

print(" 4-Super 30")

print(" 5-Dangal")

m1="RRR"

m2='Jawan'

m3='URI: The surgical strike'

m4='Super 30'
m5='Dangal'

h=int(input("Enter movie code:"))

if h==1:

b=input("Enter time:")

c=input("Enter date:")

print("Please select your seats:")

print("a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11


a12 a13 a14 a15 a16 a17 a18 a19 a20")

print("b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11


b12 b13 b14 b15 b16 b17 b18 b19 b20")

print("c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11


c12 c13 c14 c15 c16 c17 c18 c19 c20")

print("d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11


d12 d13 d14 d15 d16 d17 d18 d19 d20")

print("e1 e2 e3 e4 e5 e6 e7 e8 e9 e10 e11


e12 e13 e14 e15 e16 e17 e18 e19 e20")

print("f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12


f13 f14 f15 f16 f17 f18 f19 f20")
print("g1 g2 g3 g4 g5 g6 g7 g8 g9 g10 g11
g12 g13 g14 g15 g16 g17 g18 g19 g20")

print("
")

print("
")

print("h1 h2 h3 h4 h5 h6 h7 h8 h9 h10 h11


h12 h13 h14 h15 h16 h17 h18 h19 h20")

print("i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13


i14 i15 i16 i17 i18 i19 i20")

d=int(input("Enter no of seats:"))

for e in range(d):

f=input("Enter seat no:")

g.append(f)

i=input("Enter l for luxury and n for normal:")

if i=='l':

j=500

elif i=='n':
j=250

else:

print('Wrong input!')

k=int(input("Enter 1 if snacks wanted and 2


for no:") )

if k==1:

print(" 1-popcorn")

print(" 2-white sauce pasta")

print(" 3-OTC pizza")

l=int(input("Enter no:"))

if l==1:

m=80

elif l==2:

m=270

elif l==3:

m=350

n=(j*d)+m
print("yours ticket cost is",n)

else:

n=j*d

print("yours ticket cost is",n)

o=int(input('paytm- 1 or credit card-2:'))

if o==1:

x=input("paytm id:")

print('amount successfully credited!thank


you!')

print("YOUR TICKET:")

print(" ------------------------------------------")

print("| name :",a," ")

print("| date :",c," ")

print("| time :",b,"")

print("| rate :",n," ")

print("| seats :",g," ")

print("| movie :",h," ")


print("| paytm id :",x," ")

print(" ------------------------------------------")

elif o==2:

x=input("credit card id:")

x1=input("ccv no:")

print('amount successfully credited!thank


you!')

print("YOUR TICKET:")

print(" ------------------------------------------")

print("| name :",a," ")

print("| date :",c,' ')

print("| time :",b," ")

print("| rate :",n," ")

print("| seats :",g," ")

print("| movie :",h," ")

print("| cc id :",x," ")

print("| ccv id :",x1," ")


print(" ------------------------------------------")

else:

print('wrong input"')

if h==2:

b=input("Enter time:")

c=input("Enter date:")

print("Please select your seats:")

print("a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11


a12 a13 a14 a15 a16 a17 a18 a19 a20")

print("b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11


b12 b13 b14 b15 b16 b17 b18 b19 b20")

print("c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11


c12 c13 c14 c15 c16 c17 c18 c19 c20")

print("d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11


d12 d13 d14 d15 d16 d17 d18 d19 d20")

print("e1 e2 e3 e4 e5 e6 e7 e8 e9 e10 e11


e12 e13 e14 e15 e16 e17 e18 e19 e20")
print("f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
f13 f14 f15 f16 f17 f18 f19 f20")

print("g1 g2 g3 g4 g5 g6 g7 g8 g9 g10 g11


g12 g13 g14 g15 g16 g17 g18 g19 g20")

print("
")

print("
")

print("h1 h2 h3 h4 h5 h6 h7 h8 h9 h10 h11


h12 h13 h14 h15 h16 h17 h18 h19 h20")

print("i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13


i14 i15 i16 i17 i18 i19 i20")

d=int(input("Enter no of seats"))

for e in range(d):

f=input("Enter seat no:")

g.append(f)

i=input("Enter l for luxury and n for normal:")

if i=='l':
j=500

elif i=='n':

j=250

else:

print('Wrong input!')

k=int(input("Enter 1 if snacks wanted and 2


for no:") )

if k==1:

print(" 1-popcorn")

print(" 2-white sauce pasta")

print(" 3-OTC pizza")

l=int(input("Enter no:"))

if l==1:

m=80

elif l==2:

m=270

elif l==3:
m=350

n=(j*d)+m

print("your ticket cost is",n)

else:

n=j*d

print("your ticket cost is",n)

o=int(input('paytm- 1 or credit card-2:'))

if o==1:

x=input("paytm id:")

print('amount successfully credited!thank


you!')

print("YOUR TICKET:")

print(" ------------------------------------------")

print("| name :",a," ")

print("| date :",c,' ')

print("| time :",b," ")

print("| rate :",n," ")


print("| seats :",g," ")

print("| movie :",h," ")

print("| paytm id:",x," ")

print(" ------------------------------------------")

elif o==2:

x=input("credit card id:")

x1=input("ccv no:")

print('amount successfully credited!thank


you!')

print("YOUR TICKET:")

print(" ------------------------------------------")

print("| name :",a," ")

print("| date :",c,' ')

print("| time :",b," ")

print("| rate :",n," ")

print("| seats :",g," ")

print("| movie :",h," ")


print("| cc id :",x," ")

print("| ccv id :",x1," ")

print(" ------------------------------------------")

else:

print('wrong input"')

if h==3:

b=input("Enter time:")

c=input("Enter date:")

print("Please select your seats:")

print("a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11


a12 a13 a14 a15 a16 a17 a18 a19 a20")

print("b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11


b12 b13 b14 b15 b16 b17 b18 b19 b20")

print("c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11


c12 c13 c14 c15 c16 c17 c18 c19 c20")
print("d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11
d12 d13 d14 d15 d16 d17 d18 d19 d20")

print("e1 e2 e3 e4 e5 e6 e7 e8 e9 e10 e11


e12 e13 e14 e15 e16 e17 e18 e19 e20")

print("f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12


f13 f14 f15 f16 f17 f18 f19 f20")

print("g1 g2 g3 g4 g5 g6 g7 g8 g9 g10 g11


g12 g13 g14 g15 g16 g17 g18 g19 g20")

print("
")

print("
")

print("h1 h2 h3 h4 h5 h6 h7 h8 h9 h10 h11


h12 h13 h14 h15 h16 h17 h18 h19 h20")

print("i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13


i14 i15 i16 i17 i18 i19 i20")

d=int(input("Enter no of seats"))

for e in range(d):
f=input("Enter seat no:")

g.append(f)

i=input("Enter l for luxury and n for normal:")

if i=='l':

j=500

elif i=='n':

j=250

else:

print('Wrong input!')

k=int(input("Enter 1 if snacks wanted and 2


for no:") )

if k==1:

print(" 1-popcorn")

print(" 2-white sauce pasta")

print(" 3-OTC pizza")

l=int(input("Enter no:"))

if l==1:
m=80

elif l==2:

m=270

elif l==3:

m=350

n=(j*d)+m

print("yours ticket cost is",n)

else:

n=j*d

print("yours ticket cost is",n)

o=int(input('paytm- 1 or credit card-2:'))

if o==1:

x=input("paytm id:")

print('amount successfully credited!thank


you!')

print("YOUR TICKET:")

print(" ------------------------------------------")
print("| name :",a," ")

print("| date :",c,' ')

print("| time :",b," ")

print("| rate :",n," ")

print("| seats :",g," ")

print("| movie :",h," ")

print("| paytm id:",x," ")

print(" ------------------------------------------")

elif o==2:

x=input("credit card id:")

x1=input("ccv no:")

print('amount successfully credited!thank


you!')

print("YOUR TICKET:")

print(" ------------------------------------------")

print("| name :",a," ")

print("| date :",c,' ')


print("| time :",b," ")

print("| rate :",n," ")

print("| seats :",g," ")

print("| movie :",h," ")

print("| cc id :",x," ")

print("| ccv id :",x1," ")

print(" ------------------------------------------")

else:

print('wrong input"')

if h==4:

b=input("Enter time:")

c=input("Enter date:")

print("Please select your seats:")


print("a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11
a12 a13 a14 a15 a16 a17 a18 a19 a20")

print("b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11


b12 b13 b14 b15 b16 b17 b18 b19 b20")

print("c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11


c12 c13 c14 c15 c16 c17 c18 c19 c20")

print("d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11


d12 d13 d14 d15 d16 d17 d18 d19 d20")

print("e1 e2 e3 e4 e5 e6 e7 e8 e9 e10 e11


e12 e13 e14 e15 e16 e17 e18 e19 e20")

print("f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12


f13 f14 f15 f16 f17 f18 f19 f20")

print("g1 g2 g3 g4 g5 g6 g7 g8 g9 g10 g11


g12 g13 g14 g15 g16 g17 g18 g19 g20")

print("
")

print("
")
print("h1 h2 h3 h4 h5 h6 h7 h8 h9 h10 h11
h12 h13 h14 h15 h16 h17 h18 h19 h20")

print("i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13


i14 i15 i16 i17 i18 i19 i20")

d=int(input("Enter no of seats"))

for e in range(d):

f=input("Enter seat no:")

g.append(f)

i=input("Enter l for luxury and n for normal:")

if i=='l':

j=500

elif i=='n':

j=250

else:

print('Wrong input!')

k=int(input("Enter 1 if snacks wanted and 2


for no:") )
if k==1:

print(" 1-popcorn")

print(" 2-white sauce pasta")

print(" 3-OTC pizza")

l=int(input("Enter no:"))

if l==1:

m=80

elif l==2:

m=270

elif l==3:

m=350

n=(j*d)+m

print("yours ticket cost is",n)

else:

n=j*d
print("yours ticket cost is",n)

o=int(input('paytm- 1 or credit card-2:'))

if o==1:

x=input("paytm id:")

print('amount successfully credited!thank


you!')

print("YOUR TICKET:")

print(" ------------------------------------------")

print("| name :",a," ")

print("| date :",c,' ')

print("| time :",b," ")

print("| rate :",n," ")

print("| seats :",g," ")

print("| movie :",h," ")

print("| paytm id:",x," ")

print(" ------------------------------------------")

elif o==2:
x=input("credit card id:")

x1=input("ccv no:")

print('amount successfully credited!thank


you!')

print("YOUR TICKET:")

print(" ------------------------------------------")

print("| name :",a," ")

print("| date :",c,' ')

print("| time :",b," ")

print("| rate :",n," ")

print("| seats :",g," ")

print("| movie :",h," ")

print("| cc id :",x," ")

print("| ccv id :",x1," ")

print(" ------------------------------------------")

else:

print('wrong input"')
if h==5:

b=input("Enter time:")

c=input("Enter date:")

print("Please select your seats:")

print("a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11


a12 a13 a14 a15 a16 a17 a18 a19 a20")

print("b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11


b12 b13 b14 b15 b16 b17 b18 b19 b20")

print("c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11


c12 c13 c14 c15 c16 c17 c18 c19 c20")

print("d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11


d12 d13 d14 d15 d16 d17 d18 d19 d20")

print("e1 e2 e3 e4 e5 e6 e7 e8 e9 e10 e11


e12 e13 e14 e15 e16 e17 e18 e19 e20")

print("f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12


f13 f14 f15 f16 f17 f18 f19 f20")
print("g1 g2 g3 g4 g5 g6 g7 g8 g9 g10 g11
g12 g13 g14 g15 g16 g17 g18 g19 g20")

print("
")

print("
")

print("h1 h2 h3 h4 h5 h6 h7 h8 h9 h10 h11


h12 h13 h14 h15 h16 h17 h18 h19 h20")

print("i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13


i14 i15 i16 i17 i18 i19 i20")

d=int(input("Enter no of seats"))

for e in range(d):

f=input("Enter seat no:")

g.append(f)

i=input("Enter l for luxury and n for normal:")

if i=='l':

j=500

elif i=='n':
j=250

else:

print('Wrong input!')

k=int(input("Enter 1 if snacks wanted and 2


for no:") )

if k==1:

print(" 1-popcorn")

print(" 2-white sauce pasta")

print(" 3-OTC pizza")

l=int(input("Enter no:"))

if l==1:

m=80

elif l==2:

m=270

elif l==3:

m=350

n=(j*d)+m
print("yours ticket cost is",n)

else:

n=j*d

print("yours ticket cost is",n)

o=int(input('paytm- 1 or credit card-2:'))

if o==1:

x=input("paytm id:")

print('amount successfully credited!thank


you!')

print("YOUR TICKET:")

print(" ------------------------------------------")

print("| name :",a," ")

print("| date :",c,' ')

print("| time :",b," ")

print("| rate :",n," ")

print("| seats :",g," ")

print("| movie :",h," ")


print("| paytm id:",x," ")

print(" ------------------------------------------")

elif o==2:

x=input("credit card id:")

x1=input("ccv no:")

print('amount successfully credited!thank


you!')

print("YOUR TICKET:")

print(" ------------------------------------------")

print("| name :",a," ")

print("| date :",c,' ')

print("| time :",b," ")

print("| rate :",n," ")

print("| seats :",g," ")

print("| movie :",h," ")

print("| cc id :",x," ")

print("| ccv id :",x1," ")


print(" ------------------------------------------")

else:

print('wrong input"')

print('𝓣𝓗𝓐𝓝𝓚 𝓨𝓞𝓤 😃 𝓯𝓸𝓻 𝓫𝓸𝓸𝓴𝓲𝓷𝓰 𝓽𝓱𝓻𝓸𝓾𝓰𝓱


𝓸𝓾𝓻 𝓼𝓲𝓽𝓮 . 𝓦𝓮 𝔀𝓲𝓼𝓱 𝔂𝓸𝓾 𝓫𝓪𝓬𝓴 𝓽𝓸 𝓫𝓸𝓸𝓴 𝓪𝓰𝓪𝓲𝓷!')

l=input("enter end to exit:-")

if l=='end':

quit()

else:

print('tryagain')

You might also like