thon Hw-2 u have an organization company that sells concert tickets. You have an online ticketing system. You are going to write a python code th. sks user's age. user is less than 18 years old, prompt a message on the screen and tell them that they cannot purchase a ticket if they are not 18+ ye. they are over 18 1. Ask them how many tickets they want. 2. Ask them which section they want their tickets from. 3. If they enter balcony, each ticket costs $50. -. If they enter orchestra, each ticket costs $75. - Depending on the ticket section and the number of tickets, calculate the cost and print it.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
KAssig X
O Index X
9 Id.ph X
Id.ph x
E Untit x
A Gooc x
. Untit x
9 Id.ph x
6 Id.ph x
papps/blackboard/content/listContent.jsp?course_id%3_2064677_1&content id%3 59351625 1
There isn't any universal solution. Your solution might be different but still, it could be correct. My solutions are just to give you clues.
q1.py
92.py
Python Hw-2
You have an organization company that sells concert tickets. You have an online ticketing system. You are going to write a python code that
1) Asks user's age.
2) If user is less than 18 years old, prompt a message on the screen and tell them that they cannot purchase a ticket if they are not 18+ years old.
3) If they are over 18
1. Ask them how many tickets they want.
2. Ask them which section they want their tickets from.
3. If they enter balcony, each ticket costs $50.
4. If they enter orchestra, each ticket costs $75.
5. Depending on the ticket section and the number of tickets, calculate the cost and print it.
Python Hw-3
Q-1) Print the following pattern with for loop
1 2
23
234
Transcribed Image Text:KAssig X O Index X 9 Id.ph X Id.ph x E Untit x A Gooc x . Untit x 9 Id.ph x 6 Id.ph x papps/blackboard/content/listContent.jsp?course_id%3_2064677_1&content id%3 59351625 1 There isn't any universal solution. Your solution might be different but still, it could be correct. My solutions are just to give you clues. q1.py 92.py Python Hw-2 You have an organization company that sells concert tickets. You have an online ticketing system. You are going to write a python code that 1) Asks user's age. 2) If user is less than 18 years old, prompt a message on the screen and tell them that they cannot purchase a ticket if they are not 18+ years old. 3) If they are over 18 1. Ask them how many tickets they want. 2. Ask them which section they want their tickets from. 3. If they enter balcony, each ticket costs $50. 4. If they enter orchestra, each ticket costs $75. 5. Depending on the ticket section and the number of tickets, calculate the cost and print it. Python Hw-3 Q-1) Print the following pattern with for loop 1 2 23 234
Expert Solution
steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY