rewrite your code to validate the inputs and keep asking the user to enter valid inputs for the hours and the rate value.

Answers

Answer 1

In this code, we use a `try-except` block to catch any errors that might occur when the user inputs the values for hours and rate. If the input is not a valid float or if it is negative, the code raises a `ValueError` with an error message.


To validate the inputs for the hours and rate value in your code, you can use a loop that keeps asking the user to input valid values until they enter them correctly.
Here is an example of how to do this:


while True:
   try:
       hours = float(input("Enter hours worked: "))
       if hours < 0:
           raise ValueError("Hours cannot be negative")
       break
   except ValueError as error:
       print(error)

To know more about code visit:-

https://brainly.com/question/15301012

#SPJ11


Related Questions

a file that serves as a starting point for a new document

Answers

Answer:

The appropriate response is "Template".

Explanation:

A template would be a document that might open new opportunities for such a new folder. Because once you launch a framework, that's already pre-formatted sometimes in a manner. This same template will indeed presumably have such identification and phone number environment throughout the upper left, a person receiving identify location somewhat below something on the opposite side, a response body location further below, as well as a signature, identify at either the lower part.

Make the correct match.
1. Supports multiple coding of raw data
AVI
2. Standard audio format supported by Windows PCs
RA
3. Standard audio format used by Sun, Unix, and Java
WAV
4. Most popular format when downloading music
MP3
5. Real audio
AU
6. Standard audio file for Macs
AIFF

Answers

Answer:

1. AVI

2. WAV

3. AU

4. MP3

5. RA

6. AIFF

Explanation:

A file type can be defined as the standard used to store digital data such as pictures, texts, videos, and audios. They all have unique file extension which determines the type of software program (application) to be used for opening a particular file and accessing its data e.g pictures (jpeg, png), texts (txt, docx, rtf), videos (mp4, 3gp, avi), audios (mp3, acc).

Sometimes, computer users make the mistake of opening files with the wrong software application or program, this often leads to an error due to the incompatibility of the software application with the particular file.

For audio file types, these are some of the commonly used file extensions;

1. AVI: Supports multiple coding of raw data. AVI is an acronym for audio video interleave and it was developed by Microsoft Inc.

2. WAV: Standard audio format supported by Windows PCs. It is an acronym for Waveform Audio File Format developed by Microsoft inc. and IBM.

3. AU: Standard audio format used by Sun, Unix, and Java.

4. MP3: Most popular format when downloading music.

5. RA: Real audio.

6. AIFF: Standard audio file for Macs

The ____ database structure is a treelike storage schema that represents records and relationships through the use of tiers and parent-to-child relationships.

Answers

The hierarchical database structure is a treelike storage schema that represents records and relationships through the use of tiers and parent-to-child relationships. It represents records and their relationships using a parent-to-child hierarchy.

The hierarchical database model is a data model in which the data is stored in a tree-like structure. It's also known as a tree model since it comprises of a hierarchy of data segments that are linked to one another using a parent-child relationship.

Each record or segment in the database is linked to at most one parent segment, and it can have many child segments. For example, a company database might have a segment for each department, with each department linked to one manager.

To learn more about database: https://brainly.com/question/29349767

#SPJ11

1. lesa __________
2. didalna _______________
3 .rpeyr etlyr _____________
4. etrpoy _____________
5. rkyo ewn _____________
6. amya loagneu _____________
7. zfeorn___________________
8. msal etopry ________________
9. reyve nda gsni filt ________________________
10. tehreat lopoal ______________________
11. getas htgfir _______________
12. telsa __________________
13. diovc _____________
14. engilaenri _____________
15. atsfdofo ____________
16. rgwo pu i nhew ____________
17. tbulatyir lipcoe _______________
18. smjniae ncpiesrs __________________
19. migna ______________
20. dnaniai rgya

Answers

Penissss...?
Yes or no?

Pls help me pls I’m struggling

Pls help me pls Im struggling

Answers

Answer:

Forward(30)

Explanation:

To turn right you have to say right(Angle) and then forward(steps) to go that many steps in that direction

You are in a group of five people whose small airplane crashed and
now you are stranded on a deserted tropical island for 24 hours. The
safety island is 3 miles away and can not be reached by walking.
Limited supplies from the plane have washed ashore(a flashlight, 2
bottles of water, a sheet, the tail of the plane, a bottle of perfume,
a ball of string, and a knife). Flora(plants/vegetation) and
fauna(animals) exist on the island.
1. You must use all of the supplies
2. Think of the "what if" issues: ex. How will your group
protect themselves from the animals? How can you reach
the safety island? How will your group eat? The sea
contains salt water, etc.

Answers

First and foremost, it's important to prioritize survival and safety in this situation.

What are the necessary steps?

Here are some steps that the group could take using the available supplies:

Using the knife and ball of string, construct a shelter that can protect the group from the elements and provide a place to sleep. The sheet can be used as a roof or to create walls, and the tail of the plane can be used for support.

With the flashlight and knife, explore the island to find a fresh water source. If one is not found, the group can ration the two bottles of water until they can be rescued.

Use the knife and ball of string to create weapons and tools for protection and gathering food. The perfume can be used as a deterrent for some animals.

If there is no source of fresh water on the island, the group can use the ball of string and sheet to create a solar still to purify salt water from the sea.

Finally, the group can work together to come up with a plan to safely make their way to the safety island. This may involve using the tail of the plane as a makeshift raft, or building a larger boat using materials found on the island.

To protect themselves from animals, the group can create weapons and tools using the knife and ball of string.

Learn more about word problem on;

https://brainly.com/question/21405634

#SPJ1

The ____ view displays the worksheet the way it will look when it prints.

A) Normal

B) Page layout

C) Break

D) Page settings

Answers

I think you are looking for page layout. You can typically see it before printing out a page
page layout should be correct

what html tag that you were required to use for images on abp3 provides accessable descriptions of the images to jaws?

Answers

The ALT tag is known to be one of the HTML attribute used in HTML and XHTML documents. The html tag that you were required to use for images on abp3 provides accessable descriptions of the images to jaws is called an ALT tag

ALT tag is often used to bring out or soecify an alternative text that is to be used when the element to which it is applied cannot be used.

It is also known as ALT attribute and ALT description.

As an HTML attribute, it is often applied to image tags to provide a text alternative for search engines.

Learn more from

https://brainly.com/question/9068937

Create a flowchart to find the total of 10 negative numbers start from -1.

Answers

Here is a simple flowchart to find the total of 10 negative numbers starting from -1:

```

Start

Set total = 0

Set counter = 1

While counter <= 10

|

├─ Yes ─┬─→ Add counter to total

│ ↓

│ Increment counter by 1

├─ No ──┬─→ Display total

End

```

In this flowchart, we start by initializing the total to 0 and the counter to 1. Then, we enter a loop that continues as long as the counter is less than or equal to 10. Inside the loop, we add the current value of the counter to the total, and then we increment the counter by 1. Once the loop finishes, we display the total.

\(\huge{\mathfrak{\colorbox{black}{\textcolor{lime}{I\:hope\:this\:helps\:!\:\:}}}}\)

♥️ \(\large{\textcolor{red}{\underline{\mathcal{SUMIT\:\:ROY\:\:(:\:\:}}}}\)

After adding an image to a PowerPoint presentation, you want to frame the picture on the slide. What is the name of that feature?

Alignment
Border
Resize
Style

Answers

Answer: it would be border

After adding an image to a PowerPoint presentation, you want to frame the picture on the slide. The name of that feature is the border. The correct option is b.

What is a PowerPoint presentation?

A PowerPoint slideshow (PPT) is a presentation made using Microsoft software that enables users to include audio, visual, and audio/visual components.

It is regarded as a multimedia technology that also serves as a tool for sharing and collaborating on content. Activate PowerPoint. Choose New from the left pane.

Choose an option: Choose Blank Presentation to start from scratch when making a presentation. Choose one of the templates if you want to use a ready-made design. Choose to Take a Tour, then choose Create to get some PowerPoint pointers.

Therefore, the correct option is B, Border.

To learn more about PowerPoint presentations, refer to the link:

https://brainly.com/question/14498361

#SPJ2

1. One usual fallacy is to consider the computer with the largest clock rate as having the largest performance. Check if this is true for P1 and P2.


2. Another fallacy is to consider that the processor executing the largest number of instructions will need a larger CPU time. Considering that processor P1 is executing a sequence of 1.0E9 instructions and that the CPI of processors P1 and P2 do not change, determine the number of instructions that P2 can execute in the same time that P1 needs to execute 1.0E9 instructions.

Answers

The statement is false. Clock rate alone does not determine performance. More information is needed to determine the number of instructions P2 can execute in the same time as P1.

The fallacy mentioned here is that the number of instructions executed alone determines the CPU time required. In reality, the CPU time is influenced by the clock cycle time and the number of clock cycles required per instruction (CPI). If processor P1 executes 1.0E9 instructions, and the CPI of both P1 and P2 remains the same, we cannot directly determine the number of instructions P2 can execute in the same time. We would need additional information about the clock rates or execution times of P1 and P2 to make a comparison. To check if this is true for processors P1 and P2, we would need specific information about their clock rates, architecture, and other relevant factors.

Learn more about instructions here:

https://brainly.com/question/13278277

#SPJ11

What is the output of this program? Assume the user enters 2, 5, and 10.
numA = 0
for count in range(3):
answer = input ("Enter a number: ")
fltAnswer = float(answer)
numA = numA + fltAnswer
print (numA)
Output:

Answers

Answer: 17.0

Explanation: I did ran it on PyCharm and that was the outcome.

PLEASE MARK BRAINLIEST AND RATE MY ANSWER :)

A simple machine increases the distance that a force needs to be applied from 3 meters to 27 meters, and the work done is 216 joules. How much force is applied?(1 point).

Answers

A simple machine raises the distance that a force must be applied from 3 metres to 27 metres, producing a work of 216 joules.

What in science is a force?

In science, the term "force" has a particular definition. At this level, calling a force a push or a push is entirely appropriate. A power is not something an object "has in it" or that it "contains." One thing experiences a force from another.The idea of a force encompasses both living and non-living things.

What does a force unit mean?

The unit of force deriving from Si is the newton, abbreviated N. The metre, a unit of length with the sign m, is one of the foundation units that relate to force.

To know more about force visit:

https://brainly.com/question/13191643

#SPJ4

How to change the color of the workshops sheet tab to orange?

Answers

To change the color of the workshops sheet tab to orange, first, right-click on the tab and select "Tab Color". Choose orange from the color options to apply the color to the sheet tab.

To change the color of a sheet tab to orange in most spreadsheet applications you can follow these general steps:

Right-click on the sheet tab you want to change the color for. In this case, it would be the "Workshops" sheet tab.Look for an option related to "Tab Color," "Sheet Color," or "Change Color" in the context menu that appears. Click on that option.A color palette or color picker will typically appear, allowing you to choose a color. Look for an orange color or use the RGB or HEX values for orange to manually set the color.Once you have selected the desired orange color, click on it to apply it to the sheet tab.The sheet tab for the "Workshops" sheet should now be changed to the selected orange color.

To learn more about sheet tab: https://brainly.com/question/30397484

#SPJ11

What is the result when you run the following program? print(2 + 7) print("3 + 1") Responses 9 4 9 4 9 3 + 1 9 3 + 1 2 + 7 4 2 + 7 4 an error statement

Answers

The word "program" can be used as a verb. To establish, control, or alter something in order to get a certain outcome.

Thus, Both Americans and Britons prefer the spelling "program" when discussing developing code. By the age of 18, youth not enrolled in the Chicago CPC program had a 70% higher chance of being detained for a violent offense.

And by the age of 24, program participants were 20% less likely to have spent time in a jail or prison. A robot in the shape of a caterpillar called Code-A-Pillar is one of the devices. Its interchangeable parts each add a different movement command to the device as a whole, allowing the young scholars to program the robot's behavior as they figure out a pattern to get it from point A to point B.

Thus, The word "program" can be used as a verb. To establish, control, or alter something in order to get a certain outcome.

Learn more about Program, refer to the link:

https://brainly.com/question/30613605

#SPJ1

Edhesive 4.3 code practice question 1 PLZ SOMEONE
topic: Grandma Ester normally gives you hugs for your birthday - one for every year old you are. When you turned 15, she squished you with 15 hugs! This year, she, unfortunately, cannot see you on your birthday, so instead, she wants to send you virtual hugs!

Create a program that prompts the user for how old they are turning and then using a loop, output a virtual hug for every year old they are.

The following prints a single “virtual hug.”

Answers

Answer:

x = int(input("How old are you turning? "))

c = 0

while (c != x):

c = c + 1

print("**HUG**")

Following are the python program to calculate the virtual hugs:

Python Program:

age = int(input("How old are you? "))#defining the age variable that inputs age value in number

for x in range(0,age):#defining the loop that counts and prints the number of HUG value

   print("**HUG**")#print message

Output:

please find the attached file.

Program Explanation:

Defining the 'age' variable that inputs age value by using the input and int method that takes only numeric value.After the input value, a for loop is defined this loop that counts the age value and prints the number of 'HUG' values, by using the print method.

Learn more on python programs here:

brainly.com/question/17796174

Edhesive 4.3 code practice question 1 PLZ SOMEONEtopic: Grandma Ester normally gives you hugs for your

Help? It's java code

Help? It's java code

Answers

Below is a Java program that adds the numbers 1 through 5 into an ArrayList named "numbers" and then prints out the first element in the list:

What is the  code about?

java

import java.util.ArrayList;

public class Numbers {

   public static void main(String[] args) {

       ArrayList<Integer> numbers = new ArrayList<Integer>();

       // Add 1 through 5 to 'numbers'

       for (int i = 1; i <= 5; i++) {

           numbers.add(i);

       }

       // Print out the first element in 'numbers'

       if (!numbers.isEmpty()) {

           System.out.println("The first element in the list is: " + numbers.get(0));

       } else {

           System.out.println("The list is empty.");

       }

   }

}

Therefore, This program uses a for loop to add the numbers 1 through 5 to the ArrayList "numbers", and then uses the get() method with index 0 to retrieve and print out the first element in the list. It also includes a check to ensure that the list is not empty before accessing the first element to avoid any potential index out of bounds error.

Read more about java code here:

https://brainly.com/question/25458754

#SPJ1

See text below

7.2.6 Get First Element

Numbers.java

1 import java.util.ArrayList;

public class Numbers

2

3

4- {

5

6-

7

8

9

10

public static void main(String[] args)

ArrayList<Integer> numbers = new ArrayList<Integer>();

// Add 5 numbers to 'numbers`

// Print out the first element in 'numbers`

11

12 }

5 points Status: Not Submitted

Write a program that adds the numbers 1 through 5 into the numbers ArrayList and then prints out the first element in the list.

Lower Problem Difficulty

Generate Bonus Challenge

The following two SQL statements will produce the same results. SELECT last_name, first_name FROM customer WHERE credit_limit > 99 AND credit_limit < 10001: SELECT last_name, first_name FROM customer WHERE credit_limit BETWEEN 100 AND 10000; A. B TRUE FALSE 14. The following two SQL statements will produce different results. SELECT last_name, first_name FROM customer WHERE state='MA' OR state = 'NY' OR state = 'N' OR state = 'NH' OR state = 'CT; SELECT last_name, first_name FROM customer WHERE state IN ('MA''NY','NJ','NH',CT"); A B. TRUE FALSE 15. What does the following SQL statement do? ALTER TABLE Customer_T ADD Type Varchar (2): A. Alters the Customer_T table to accept Type 2 Varchars B. Alters the Customer_T table to be a Type 2 Varchar C. Alters the Customer_T table, and adds a field called "Type" D. Alters the Customer_T table by adding a 2-byte field called "Varchar" 16. What does the following SQL statement do? DELETE FROM Customer_T WHERE state = 'HI'; A B. C. D. Deletes all records from customer_t where the state is equal to HI Removes the Customer_T table from the database Deletes all records from the Customer_T table Doesn't delete anything because of a syntax error

Answers

SQL statement is a set of instruction that consists of identifiers, parameters, variables, names, data types, and SQL reserved words that compiles successfully. Analysis Services creates an implicit transaction for a SQL statement if a BeginTransaction command does not specify the start of a transaction.

1. The first SQL statement selects the "last_name" and "first_name" columns from the "customer" table where the "credit_limit" is greater than 99 and less than 10001. The second SQL statement selects the same columns but uses the "BETWEEN" operator to specify a range of credit limits from 100 to 10000. Both statements will produce the same results.

2. The first SQL statement selects the "last_name" and "first_name" columns from the "customer" table where the "state" is equal to 'MA', 'NY', 'N', 'NH', or 'CT'. The second SQL statement uses the "IN" operator to achieve the same result. Both statements will produce the same results.

3. The SQL statement "ALTER TABLE Customer_T ADD Type Varchar (2)" alters the "Customer_T" table by adding a new field called "Type" with a data type of "Varchar" and a length of 2. It does not alter the table to accept Type 2 Varchars or make the table itself a Type 2 Varchar.

4. The SQL statement "DELETE FROM Customer_T WHERE state = 'HI'" deletes all records from the "Customer_T" table where the "state" is equal to 'HI'. It does not remove the table from the database or delete all records from the table. It performs the deletion based on the specified condition.

Learn more about SQL statement here:

https://brainly.com/question/30320966

#SPJ11

True or False: The Navigation buttons on a datasheet display the total number of fields in the datasheet.

Answers

The correct answer is False.The Navigation buttons on a datasheet do not display the total number of fields in the datasheet.

Instead, they display the total number of records and the current record number. The Navigation buttons allow you to move through the records in the datasheet, and you can use them to navigate to the first, last, previous, and next records. You can also use the Navigation buttons to add a new record or delete the current record. In addition to the Navigation buttons, the datasheet view provides sorting and filtering options that allow you to customize the view of the data in the datasheet.

To know more about datasheet click the link below:

brainly.com/question/31938582

#SPJ11

True or False,
LibreOffice Impress is the spreadsheet software of Edubuntu. ​

Answers

False.LibreOffice Impress is not the spreadsheet software of Edubuntu. Edubuntu is a free and open-source operating system designed for use in educational settings.

It is based on Ubuntu and includes a variety of educational software applications.LibreOffice Impress is a presentation software included in the LibreOffice suite, which is a free and open-source office productivity software. Impress is used for creating and editing presentations, and it includes features such as slide design, animations, and multimedia integration.On the other hand, LibreOffice Calc is the spreadsheet software included in the LibreOffice suite. It is used for creating and editing spreadsheets, and it includes features such as formulas, charts, and macros.While Edubuntu includes a variety of educational software applications, including office productivity software, it is not limited to any specific suite or software. Therefore, it is not accurate to say that LibreOffice Impress is the spreadsheet software of Edubuntu.

To learn more about Edubuntu click the link below:

brainly.com/question/24557404

#SPJ4

Myra Wrote a Program and forgot to put the steps in the correct order. Which step does Mya need to Review

A. Pattern Following
B. Planning
C. Segmenting
D. Sequencing

Answers

Answer:

B. Sequencing

Explanation:

I hope this helps you UwU

Answer:

The answer is 'A'

Explanation:

I took the test, and got a 100%

It also makes more sense than the other choices.

Have a good day <3

If one of the resistors is turned off (I.e. , a light bulb goes out), what happens to the other resistors (light bulbs) in the circuit? Do they remain on? (I.e., lit)?

Answers

Answer:

No, they don't remain on because If any of bulbs in a series circuit is turned off from its socket, then it is observed that the other bulbs immediately go out. In order for the devices in a series circuit to work, each device must work. If one goes out, they all go out.

Application Load balancers handle all these protocols except
answer choices
A. HTTP
B. HTTPS
C. Websocket
D. TCP

Answers

Application Load balancers handle all these protocols except TCP. They are designed to distribute traffic across multiple targets, improving application availability and scaling.

They support HTTP, HTTPS, and WebSocket protocols and can intelligently route requests to the most appropriate target based on factors like traffic, load, and health. TCP, on the other hand, is a transport layer protocol that is used to establish connections between devices on a network. While Application Load balancers can distribute traffic for TCP-based applications, they do not handle the protocol itself as it is lower-level than the supported application-level protocols.

learn more about Application Load balancers here:

https://brainly.com/question/15243056

#SPJ11

Which are examples of digital video? Choose all that apply.

video played from a reel and shown at a drive-in movie theater

video downloaded from a website and played on a portable electronic device

video streamed from a broadcast news website

video played from a DVD player

Answers

Answer:

B, C, D

Explanation:

Edge 2021

     Digital video is the electronic representation of moving pictures as digital data that has been encoded. Contrasted with this is analogue video, which uses analogue signals to represent moving pictures. Digital video is made up of numerous digital images that are shown quickly one after the other.

DV is a type of video format ?

       In order to transfer DV signals between devices, they are encoded into 80-byte blocks known as DV-DIF data (DV Digital Interface Format). These DV-DIF blocks can either be stored as raw files with the.dv or.dif extension or wrapped in other file formats like AVI, QuickTime, and MXF.

         A file produced by a digital camera and saved in a common raw format is known as a digital video (DV) file. Each Digital Interface Block (DIF) in a DV file contains 80 bytes. Audio, video, and metadata can all be found in DIF blocks.

      Who or what uses DV?  A group of video camera manufacturers led by Sony and Panasonic introduced the DV family of codecs and tape formats for digital video storage in 1995.

      DV(digital video) is one kind of video file captured by dv camera, mini dv, and digital 8.

      DV mode – what is it? A video standard called DV (Digital Video) was introduced in 1996. It was developed by a group of businesses and given the official designation IEC 61834. There are a number versions of the DV standard, including DVCAM (Sony) and DVCPRO (Panasonic). Customers are familiar with MiniDV, DV's smaller format.

To Learn more About  digital video (DV), Refer:

https://brainly.com/question/19554652

#SPJ2

1. How many 5mb pictures can be stored in a 300 mb micro sd card?

2. How many 1000 mb videos can be stored in a memory card with 4gb capacity?


Help​

Answers

#1

Total pics:-

\(\\ \sf\longmapsto \dfrac{300}{5}=60pictures\)

#2

1GB=1025MB4GB=4100MB

Total videos

\(\\ \sf\longmapsto \dfrac{4100}{1000}\approx 4\)

1. How many 5mb pictures can be stored in a 300 mb micro sd card?

60 Pictures

2. How many 1000 mb videos can be stored in a memory card with 4gb capacity?

4100/1000 ≈ 4

This question has two parts : 1. List two conditions required for price discrimination to take place. No need to explain, just list two conditions separtely. 2. How do income effect influence work hours when wage increases? Be specific and write your answer in one line or maximum two lines.

Answers

Keep in mind that rapid prototyping is a process that uses the original design to create a model of a part or a product. 3D printing is the common name for rapid prototyping.

Accounting's Business Entity Assumption is a business entity assumption. It is a term used to allude to proclaiming the detachment of each and every monetary record of the business from any of the monetary records of its proprietors or that of different organizations.

At the end of the day, we accept that the business has its own character which is unique in relation to that of the proprietor or different organizations.

Learn more about Accounting Principle on:

brainly.com/question/17095465

#SPJ4

What will be the output of the following lines of code and the user's response?

What will be the output of the following lines of code and the user's response?

Answers

Answer:

The answer is C. 85

Explanation:

The int() function is usually used to turn a float, to an int. When you use the int() function, it just cuts of everything past the decimal. It doesn't round the float. Leaving you with the option C. 85

hope this helped you :D

Eva is the network architect for her company's large cloud deployment; she has interconnected her private cloud to a community cloud in another province. She is investigating using the community cloud to supplement her private cloud workload during end-of-month processing. What operation is she going to perform

Answers

Answer:

The appropriate response is "Cloud bursting".

Explanation:

A strategy for the implementation of a program in a proprietary cloud or network infrastructure that explodes onto a public cloud if availability or production for computational power increases, could be considered Cloud bursting.It enables extra cloud capabilities throughout cases where additional facilities have been required.

Assignment 4: Divisible by Three
ProjectSTEM
hello! I have no clue at all how to do this and need help.

Assignment 4: Divisible by Three ProjectSTEMhello! I have no clue at all how to do this and need help.
Assignment 4: Divisible by Three ProjectSTEMhello! I have no clue at all how to do this and need help.

Answers

For iterating through a series, use a for loop. This functions more like an iterator method seen in other object-oriented programming languages and is less like the for keyword found in other programming languages.

How to write program in loop ?

A high-level, all-purpose programming language is Python. Code readability is prioritised in its design philosophy, which makes heavy use of indentation. Python uses garbage collection and has dynamic typing. It supports a variety of programming paradigms, such as functional, object-oriented, and structured programming.

A while loop in Python is used to repeatedly run a block of statements up until a specified condition is met. And the line in the programme that follows the loop is run when the condition changes to false.

We can write the code in a simple way like this below :

n = int(input("How many numbers do you need to check? "))

divisible  = 0

notdivisible  = 0

for x in range(n):

 num = int(input("Enter number: "))

 if num % 3== 0:

     divisible += 1

     print(str(num)+" is divisible  by 3")

 else:

     notdivisible += 1

     print(str(num)+" is not divisible by 3")

print("You entered "+str(divisible )+" even number(s).")

print("You entered "+str(notdivisible )+" odd number(s).")

To learn more about Python refer :

https://brainly.com/question/26497128

#SPJ1

Answer:n = int(input("How many numbers do you need to check? "))

divisible  = 0

notdivisible  = 0

for x in range(n):

num = int(input("Enter number: "))

if num % 3== 0:

    divisible += 1

    print(str(num)+" is divisible  by 3.")

else:

    notdivisible += 1

    print(str(num)+" is not divisible by 3.")

print("You entered "+str(divisible )+" number(s) that are divisible by 3.")

print("You entered "+str(notdivisible )+" number(s) that are not divisible by 3.")

Explanation:

For that one that's I'm on python <3

Which of the following is an example of a compressed file format?
A. MP3
B. WAV
C. AIFF
D. CD Quality
E. MP%

Answers

B WAV is the correct answer

WAV is an example of a compressed file format.

What is Compressed File Format?

Compressed file format refer to file which is the reduced version of the original size and may contain two or more files and also directory. smaller than its original size and could contain on Compressed files can be downloaded easily and transmit more faster than other files.

What is WAV?

Waveform Audio(WAV) File Format refer to an audio form of file format which was created by Microsoft and IBM for the purpose storing audios on personal computer.

Therefore, Waveform Audio(WAV) file format is an example of a compressed file format.

Learn more on Compressed file format from the link below.

https://brainly.com/question/4478177

Other Questions
Please someone help me with this! random points for no reason what so ever Cunningham Industries reported actual sales of $2,000,000, and fixed costs of $540,000. The contribution margin ratio is 30%. Compute the margin of safety in dollars and the margin of safety ratio. Specify the following views in SQL on the COMPANY database schema shown in Figure 5.5.a. A view that has the department name, manager name, and manager salary for every department.b. A view that has the employee name, supervisor name, and employee salary for each employee who works in the 'Research' department.c. A view that has the project name, controlling department name, number of employees, and total hours worked per week on the project for each project.d. A view that has the project name, controlling department name, number of employees, and total hours worked per week on the project for each project with more than one employee working on it.*****This is exercise 7.8 from textbook "Fundamentals of Database Systems 7th Edition" by Elmasri and Navathe***** Once you have carried out your experiment and have some results, you shouldA. make a new hypothesis that fits your resultsB. keep your results only if they support your hypothesisC. design a new experiment to test your resultsD. analyze your results and draw a conclusion Cynthia is writing a fictionalized story about the real lifeHow will Cynthia's teacher most likely critique herof a nurse. She used a scene from her favoritesource material?television sitcom as the source material for herresearch on the life of nurses.O The teacher will say that Cynthia did not make agood choice in source material because a nonfictionsource would be more reliable. The teacher will say that Cynthia made a goodchoice in source materials because a fictional sourceis reliable.The teacher will say that Cynthia did not makegood choice in source material but it doesn't matterbecause fiction doesn't require sturce material. The teacher will say that Cynthia made a goodchoice in source materials but it doesn't matterbecause fiction doesn't require nonfiction sourcematerial. Why are naphthalene ball used to protect clothes from insects? How does it gradually decrease and ultimately disappear? And then I explained to him how nave we were, that theworld did know and remain silent. And that is why I sworenever to be silent whenever and wherever human beingsendure suffering and humiliation. We must always takesides. Neutrality helps the oppressor, never the victim.Silence encourages the tormentor, never the tormented.Sometimes we must interfere. When human lives areendangered, when human dignity is in jeopardy, nationalborders and sensitivities become irrelevant. Wherever menand women are persecuted because of their race, religion,or political views, that place mustat that momentbecome the center of the universe.Elie Wiesel, Nobel Prize acceptance speech, 1986What does Wiesel feel the world must do when faced with human suffering? "if i eat spicy foods, then i have strange dreams." "i have strange dreams if there is thunder while i sleep." "i did not have strange dreams." What is 7[12-(6-2)4] Transporting a substance against its concentration gradient requiresa. a transporter that is facilitated in its diffusion.b. countertransport with another molecule against its concentration gradient.c. cotransport with another molecule against its concentration gradient.d. a transporter that uses energy.e. a channel that is specific for that substance. What is the VI relationship in capacitor? After a long day at school, you look forward to socializing with friends online. Afterwards, you relax by watching your favorite television show. The ___________________________ theory proposes that we use media to meet particular needs. DuPont Identity [LO 3] Some recent financial statements for Smolira Golf, Inc., follow. SMOLIRA GOLF, INC. Balance Sheets as of December 31, 2018 and 2019 2019 2018 2019 Assets Liabilities and Owners' Equity Current assets Current liabilities Cash $ 2,851 $ 2,707 Accounts payable $ 2,213 $ 2,720 Accounts receivable 4,707 5,661 Notes payable 1,810 2,236 Inventory 12,718 13,662 Other 102 119 2018 Total $20,276 $ 22,030 Total ces $ 4,125 $ 5,075 $ 14,500 $ 17,260 Long-term debt Owners' equity Common stock and paid-in surplus Accumulated retained earnings 44,000 $44,000 $ 39,988 15,714 Fixed assets Net plant and equipment $58,063 $ 84,293 Total 83,988 $ 59,714 $ Total assets owners' $78,339 $106,323 Total liabilities equity $78,339 $ 106,323 SMOLIRA GOLF, INC. 2019 Income Statement Sales $ 189,770 Cost of goods sold 127,403 Depreciation 5,213 EBIT Interest paid $ 57,154 1,310 Taxable income Taxes $55,844 19,545 Net income $36,299 Dividends $ 12,025 24,274 Retained earnings Construct the DuPont identity for Smolira Golf (Do not round intermediate calculations and round your answers to 2 decimal places, e.g. 32.16. Enter the profit margin and return on equity as a percent.) Construct the DuPont identity for Smolira Golf. (Do not round intermediate calculations and round your answers to 2 decimal places, e.g., 32.16. Enter the profit margin and return on equity as a percent.) % times Profit margin Total asset turnover Equity multiplier Return on equity times % Juliana works for a furniture company. she is in charge of moving raw materials, packaging and information from suppliers to her company's production facilities. her duties focus on supply side logistics. inbound logistics. freight management. materials management. Sarah is a psychologist. She focuses on teenagers in her latest study. The aim of her study is to understand what differentiates one teenager from another and leads him or her to act consistently in different situations and over extended periods of time. Sarah is most likely studying How might observing the world and people around you improve your animation skills? Explain.I'll mark the 1st answer the brainliest! As are you posting What is the universe made of? Native Americans believe that the world is dominated by human beings.TrueFalse The stomach consists of various tissue types, including smooth muscle tissue, glandular epithelial tissue, and epithelial tissue that creates the stomachs lining.Which of the following statements supports the claim that the stomach carries out its activities as a result of the integrated activity of its tissues?Choose 1 answer:Choose 1 answer:(Choice A)ADuring digestion, the stomachs glandular epithelial tissues secrete digestive juices while the smooth muscle tissue produces contractions to churn the contents.(Choice B)BThe stomach contains smooth muscle tissue which is made up of smooth muscle cells, and epithelial tissue which includes columnar epithelial cells.(Choice C)CParietal cells in the stomach lining secrete hydrochloric acid, and this function helps the organism digest food.