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
love history [14]
2 years ago
10

in python, using the simplest form the print_seconds function so that it prints the total amount of seconds given the hours, min

utes, and seconds function parameters. Remember that there are 3600 seconds in an hour and 60 seconds in a minute.
Computers and Technology
1 answer:
PolarNik [594]2 years ago
4 0

Answer:

I'm guessing you want a function so...

def print_seconds(hours, minutes, seconds):

seconds += 3600 * hours + 60 * minutes

print(seconds)

return 0

Hope this helps. :)

You might be interested in
Develop a simple game that teaches kindergartners how to add single-digit numbers. Your function game() will take an integer n a
Lyrx [107]

Answer:

2 correct answer out of 3

5 0
3 years ago
you just bought a new hard drive for your computer you plan to use this as a secondary hard drive to store all um a files once i
mihalych1998 [28]
Well, you need to partition your hard drive. Partitioning your hard drive designates usable space on your hdd.

And you need to format your hard drive. Formatting installs a file system on to your hard drive, it allows the operating system to read, write and overall understand the data stored on the disk. Without it, an OS cannot keep track of file locations, nor can it typically identify already used sectors (space) on a hdd. 
However, neither of these two concepts are tests.  
7 0
3 years ago
14. Write a program that accepts or rejects applicants for admission at Fictional University. To qualify, an applicant must be a
Gala2k [10]

The required program for applicant selection written in python 3 is :

age = int(input())

grade12_avg = int(input())

ps = int(input())

cs = int(input())

def status(age, grade12_avg, ps, cs):

msg = 'sorry you are not admitted'

if (age >=16) and (grade_avg >=60):

if (ps>=65) or (cs>=50):

message = 'congratulations'

print(message)

else :

print(message)

else:

print(message)

Run through of the codeblock :

age = int(input())

grade12_avg = int(input())

ps = int(input())

cs = int(input())

# input values provided by users

.

def status(age, grade12_avg, ps, cs):

#Define a function named status

msg = 'sorry you are not admitted'

# display message for recepients

if (age >=16) and (grade_avg >=60):

#First condition ; the and keyword means both must be True

if (ps>=65) or (cs>=50):

2nd condition, or statement means only one or both can be true

message = 'congratulations'

#content of message if both conditions are met

print(message)

#Display newly defined content of message

else :

print(message)

#Display initial content of message

else:

print(message)

#Display initial content of message.

Learn more :brainly.com/question/24672775

7 0
2 years ago
The P in SOAP stands for Persuasion. <br> a. True<br> b. False
fredd [130]
The answer is false.
  P in soap stands for purpose. SOAPS stands for Subject(what is being discussed), Occasion(what is the context of events), Audience(to whom the message is directed), Purpose(what is the recommended action for the reader) and the Speaker(what or who is the source).
4 0
2 years ago
Read 2 more answers
These statements describe lists in presentation programs:
Law Incorporation [45]

Answer:

A

Explanation:

3 0
3 years ago
Read 2 more answers
Other questions:
  • You are a psychologist who needs to provide a qualitative evaluation for IQ scores. Create a program that takes IQ scores (one a
    10·1 answer
  • Which of the following protocols is used by Web servers to establish communication between a web page and a web browser?
    9·1 answer
  • What natural resource are available on the coast but not somewhereelse
    13·1 answer
  • Drag the tiles to the correct boxes to complete the pairs.
    11·1 answer
  • Universal Containers has a sales team focused on renewals. They will use many of the same Opportunity fields as other teams, but
    13·1 answer
  • If you were to create a new app for a smartphone or tablet that does not already exist, what would you create?
    10·1 answer
  • What is text box and label control​
    10·2 answers
  • ____ the styles allows the designer to start from a known baseline, confident that no unwanted styles will creep in from any bro
    6·1 answer
  • You have created a PivotChart showing sales by quarter by sales rep. Before presenting it to management, you notice thename of a
    7·1 answer
  • What are some random fun facts about Technology?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!