1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
ziro4ka [17]
3 years ago
6

Python;

Computers and Technology
1 answer:
riadik2000 [5.3K]3 years ago
4 0

a = int(input("Class A tickets sold: "))

b = int(input("Class B tickets sold: "))

c = int(input("Class C tickets sold: "))

print("Total income generated: $"+str((a*20)+(b*15)+(c*10)))

I hope this helps!

You might be interested in
Create a Python program that:
Charra [1.4K]

Answer:

```

file = open("trips.txt","r")

file = file.split("\n")

trip_date = []

fuel_used = []

miles_traveled = []

for i in file:

   trip_date.append(i.split(", ")[0])

for i in file:

   fuel_used.append(i.split(", ")[1])

for i in file:

   miles_traveled.append(i.split(", ")[2])

```

This should put the data in their own lists (i didn't test it) but im not going to solve everything for you. The rest is for you to tinker with. You shouldn't throw your question at us and expect an answer. This is the most that I will give you.

Explanation:

4 0
3 years ago
What are the responsibilities of the DBA and the database designers?
Ratling [72]

Answer:

Explanation:

DBA's main responsibility is making sure that there is enough CPU, disk, memory, and network bandwidth available, as well as making backups every so often. Meanwhile, the database designers/developers are responsible for investigating and implementing what the end-user needs and making sure that the database holds all of the information that the end-user will be using.

3 0
3 years ago
Naruto Uzumaki who likes naruto ??? who waches it??
nika2105 [10]

Answer:

me

Explanation:

naruto is the coolest dude

6 0
3 years ago
Read 2 more answers
Which block in this module represents the variable?
sasho [114]

Explanation:

jdbfifnmathljnfeijrjdjej.http.com

6 0
3 years ago
Why would you want to look at the HTML code on a website when using a Web
dusya [7]

I would want to look at the HTML code on a website when using a Web page editor to change attributes that the editor cannot change. Text editors like Notepad and TextEdit can not only help you learn HTML, but also get things done for you. However, most web developers prefer using a web page editor over text editors because they can help boost productivity.

Explanation:

For instance, say you want to write an opening HTML tag, a web page editor will automatically include the closing tags, thus reducing the typing required. This can pose as an advantage and a disadvantage. By default, HTML supports various tags and includes the autocomplete feature for attributes. Most developers, not matter how smart or experienced they might be, will constantly run into errors. In as much as a HTML editor autocompletes elements found in attributes for you, developers would want to look at the HTML code on a website. It will help them find and correct syntax and runtime errors

Forgetting to put quotation marks on an attribute values, alone, will cause errors. An editor will not change these errors and a developer will be required to review the code and make changes.

Learn more about page editors

brainly.com/question/10002469

brainly.com/question/4004088

#LearnWithBrainly

8 0
4 years ago
Other questions:
  • Complete the following statements by choosing the correct answer from the drop-down menus.
    14·1 answer
  • Explain why the control bus is not a bus.
    7·1 answer
  • What breakthrough in sound recording facilitated stereophonic recording? Ο Α. overdubbing O B. multitrack recording O C. digital
    10·1 answer
  • When creating envelopes, how will you adjust the layout?
    10·2 answers
  • True or False: Variablename must start with a number.
    13·1 answer
  • What line of code makes the character pointer studentPointer point to the character variable userStudent?char userStudent = 'S';
    5·1 answer
  • Prove that: P = hdg​
    7·2 answers
  • In Python, which comparison operator means "less than or equal to"?
    5·2 answers
  • What number is represented as a binary code of 101110
    5·2 answers
  • If non-series-rated overcurrent devices (standard molded-case circuit breakers) are to be installed in the main switchboard, bre
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!