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
Mekhanik [1.2K]
3 years ago
13

Write an application that reads values representing a time duration in hours, minutes, and seconds and then prints the equivalen

t total number of seconds. (For example, 1 hour, 28 minutes, and 42 seconds is equivalent to 5322 seconds.)

Computers and Technology
1 answer:
aniked [119]3 years ago
8 0

Answer:

Explanation:

def cvtToSeconds(hours,minutes,seconds):

   total_seconds=3600*hours+60*minutes+seconds;

   return total_seconds

def readData():

   hours = eval(input("Enter Hours: "))

   minutes = eval(input("Enter Minutes: "))

   seconds = eval(input("Enter Seconds: "))

   total_seconds=cvtToSeconds(hours,minutes,seconds)

   print("Total Seconds: "+str(total_seconds))

readData()

You might be interested in
When saving a file, you must provide a valid file name that adheres to specific rules, referred to as _______________.
Naya [18.7K]

Answer:

a. file-naming conventions

Explanation:

File names need to follow certain criteria and constraints. Examples include:

  • File names must not start with special symbols.
  • File names can consist of letters,digits and special characters such as _.
  • File name can contain an extension after a dot sign.
  • File names must not be duplicates of an existing file.

Such constraints form part of file-naming conventions.

  • file-path represents the complete path to the file in the directory structure.
  • disk partition segments a hard disk into multiple volumes.
  • file-path starts from the root directory and spans one or more subdirectories to the location of the actual file.
6 0
3 years ago
_____ consists of computer equipment used to perform input, processing, and output activities.
goldfiish [28.3K]
<span> (keyboards, mice, scanning, computer chips)</span>
6 0
3 years ago
Hello people, I was wandering if I could get some people to complete this questionnaire for my business course. It would be very
madam [21]
What do I have to do
3 0
3 years ago
Which of the following statements about BLE is not true? a. BLE has a two-way, push-pull communication capability b. BLE uses le
Veronika [31]

Answer:

Only Apple iPhones can use BLE

Explanation:

Bluetooth low energy is a wireless personal area network technology and it has all the features mention in the option aside from option C " Only Apple iPhones can use BLE". Because most Android phones running 4.4 and above also support same technology.  

8 0
3 years ago
In order for your laptop to make a wireless connection, it must first find an available __________ to connect to.
IgorLugansk [536]
A. SSID to connect to it
4 0
3 years ago
Read 2 more answers
Other questions:
  • _ are typically comprised of a mix of _ and _
    11·2 answers
  • A specific, individual computer or other network device in a domain is known as what?
    15·1 answer
  • Alex is setting up a network for his company's computers. He installs a circuit board into each computer, enabling it to be conn
    15·1 answer
  • Page Up and Page Down keys fall under the ? keys category.
    14·2 answers
  • Access-lists pose a logical problem which often has more than one solution. Can you think of a different set of rules or placeme
    8·1 answer
  • 4.3 Code Practice<br> edhisve
    13·1 answer
  • A person you respect who offers you advice and assistance is known as a(n) _____.
    12·1 answer
  • According to a case study in one of our weekly chapter reading, nearly..................... percent of all employees send work e
    11·2 answers
  • তথ্য ও যোগাযোগ প্রযুক্তির প্রশ্ন(45)10 সংখ্যাটির সমতুল্য মান?
    14·1 answer
  • What are the 6 example of computer hardware​
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!