Write code that determines the number of full days represented by the number of hours stored in the variable hours and stores that value in the variable full_days. For example, the number of full days in 50 hours is 2. Ignore any leftover hours that don't contribute to a full day. Assume the value of hours has already been initialized. Solve It!

Answers

Answer 1

Answer:

hours = 50

full_days = int(hours / 24)

print("The number of full days in " + str(hours) + " hours is " + str(full_days))

Explanation:

Initialize the hours

Since there are 24 hours in a full day, divide the hours by 24. Note that you need to typecast it to the int, because the result is a decimal value by default

Print the values as requested


Related Questions

that is Entrepreneur ? ?

Answers

Answer:

An entrepreneur is an individual who creates a new business or, an organization. An entrepreneur combines these to manufacture goods or provide services and provides leadership and management for the business. That is entreprenuer.

Hope this helps...!

Explanation:

What is the outside of an iPhone called?

Answers

What, what are you talking about

Sam card tray is the answer

paragraph on how atms work

Answers

ATM (Automatic Teller Machine) is a banking terminal that accepts deposits and dispenses cash. ATMs are activated by inserting cash (in cases of ATM Depositing) or debit /credit card that contain the user's account number and PIN on a magnetic stripe (for cash withdrawals)

Why is it unlawful for an employer to refuse to employ someone based solely on their gender without evidence that such a characteristic is necessary for successful completion of the job? Answer by writing a paragraph of two to three sentences.

Answers

Employing someone based on gender is unlawful because, it is the skill which matters to get the required job done and skills are not based on gender. There is no evidence that this particular gender cannot do this job and this particular gender can do. Everyone who posses the required skillsets are eligible to get employed irrespective of gender.

===============================================

I tried my best

What are three ways that you can protect and care for your camera? Why is taking care of your camera important?



Answer in 1-3 sentences.

Answers

avoid dirt and sand, touching your camera lense, and any type of liquid. be careful when cleaning dirt and sand off of your camera lense, as not doing so could scratch lense.

as future software developer what is the difference between

1. Are we developing the software right?
2. Are developing the right software?

Answers

Answer:

Well There are alot of different softwares so thats where "Are developing the right software?" Starts But Sometimes Its easy to mix up! Now, "Are we developing the software right?" Get the code and enter it into google docs, it will show your mistakes. Your welcome.

Verified By Al ✔️

One of the simplest and best known polyalphabetic ciphers is _________ cipher. In this scheme, the set of related monoalphabetic substitution rules consists of the 26 Caesar ciphers with shifts of 0 through 25. Each cipher is denoted by a key letter which is the ciphertext letter that substitutes for the plaintext letter a.

Answers

Answer:

Vigenere

Explanation:

Vigenere Cipher is an encryption method of alphabetic symbols that utilizes an easy form of polyalphabetic exchange which is carried out through Vigenere table.

Hence, in this situation, the correct answer is VIGENERE Cipher because it is the form of cipher whereby the set of related monoalphabetic substitution rules comprises of the 26 Caesar ciphers with shifts of 0 through 25. Each cipher is indicated by a key letter which is the ciphertext letter that substitutes for the plaintext letter.

which check the functioning of all the connected hardwares including primary and secondary storage devices​

Answers

Answer: The computer processor

Explanation:

The computer processor is also called the central processing unit and it's function is to analyzes data and also disperses data. It is the computer's brain as it tells the computer the kind of programs to do at a particular time.

The computer processor checks the functioning of all the connected hardwares including primary and secondary storage devices.

can someone explain to me what coom means? kekw

Answers

If it is espanish it is como and it means how.

Answer:

Outside of referring to the image and meme, Coomer, often lowercased as coomer, is used online as a general insult for an overshrexed young man. The term implies such a person is a sleazy loser, obsessed with masturbatling to pronography because he can't find shrexual partners.

An ISP is considering adding additional redundant connections to its network. Which of the following best describes why the company would choose to do so?

Answers

Answer:

Redundant networks are generally more reliable.

Explanation:

The complete question is in this brainly link;

https://brainly.com/question/18302186

This is based on knowing the importance of a redundant network.

C. Redundant networks are more reliable

A redundant network is one that helps to increase the reliability of a computer system.

Now, this is possible because the more critical the ISP NETWORK is, the more important it will be for the time it takes to resolve from a fault would be reduced.

This implies that, by adding one redundant device to their connection, the time it will take to resolve from a fault would be drastically reduced and this will lead to a far more reliable system.

Thus, redundant networks are more reliable.

Read more at; brainly.com/question/17878589

What will be the result from running the following program? print grades print 92 print 80print total print 92+80

Answers

Answer:

Grades

92

80

Total

92 + 80

Explanation:

When utilizing quotations, you enable to code to print what wrote, as it is. So, instead of adding the 92 + 80, it's printed out.

I hope this helped!

Good luck <3

What is the purpose of application software policies?
a. They define boundaries of what applications are permitted.
b. They use a database of signatures to identify malware.
c. They take log data and convert it into different formats.
d. They serve to help educate users on how to use software more securely

Answers

Answer:

d. They serve to help educate users on how to use software more securely.

Explanation:

A software policy can be defined as a set of formally written statements that defines how a software application or program is to be used.

The purpose of application software policies is that they serve to help educate users on how to use software more securely. It must be easy to read, learn and understand by the end users.

The purpose of application software policies is that they serve to help educate users on how to use software more securely. Thus, option D is correct.

A software policy can be defined as a set of formally written statements that defines how a software application or program is to be used.

The purpose of application software policies is that they serve to help educate users on how to use software more securely. It must be easy to read, learn and understand by the end users.

Therefore, The purpose of application software policies is that they serve to help educate users on how to use software more securely.

Learn more about software on:

https://brainly.com/question/32393976

#SPJ6

Hulu suggestions? I just got it and I wanna know what's good :)

Answers

Anime show: naruto

Drama show: sweet Mongolian

Adventure show: outer banks

Answer:

I love hulu almost everything is good but I recommend Zoey's Extrordinary playlist

Explanation:

The point-of-view of a game is influenced by the player role and game camera. Give an example of a game that uses omniscient player role. Explain what the game camera perspective looks like for that game and how that camera perspective assists in the omniscient immersive experience.

Answers

Answer:

REWORD

Explanation:

Having choices within a game gives the player a certain amount of control over the game,and can keep them immersed. When a choice is “meaningful” it is so because what you decide will have different outcomes, one such example being the game(s) Skyrim or Fallout 4. With these games, you are presented a multitude of choices, mainly within dialogue, and depending on how you choose to react, you can gain certain quests,.

6. Write pseudo code that will perform the following. a) Read in 5 separate numbers. b) Calculate the average of the five numbers. c) Find the smallest (minimum) and largest (maximum) of the five entered numbers. d) Write out the results found from steps b and c with a message describing what they are.

Answers

Answer:

Pseudo CODE

a)

n= Input “Enter 5 integer value”

b)

sum=0.0

For loop with i ranging from 0 - 5

Inside loop sum=n[i]+sum

Outside loop avg= sum/5

Print avg

c)

small=n[0] # assume the first number in the list is smallest

large= n[0] # assume the first number in the list is largest

For loop with i ranging from 0 - 5

Inside loop if n[i]<small #if any another number is smaller than small(variable)

Inside if Then small=n[i]

Inside loop if n[i]>large # if any another number is larger than large(variable)

Inside if then large=n[i]

Print small

Print large

d)

print avg

print small

print large

Pseudocodes are used as a prototype of an actual program.

The pseudocode is as follows:

input n1, n2, n3, n4, n5

avg = (n1 + n2 + n3 + n4 + n5)/5

small = n1

large = n1

for i = 2 to 5:

   if n1 > ni then:

       small = ni

   if n1 < ni: then:

       large = ni

print("Average:", avg)

print("Smallest:", small)

print("Largest:", large)

The pseudocode starts by getting inputs for the 5 valuesNext, the average of the 5 values is calculatedThe fourth line iterates through the numbersWithin the iteration, there are 2 conditional statements that calculate the smallest and the largest valuesThe last three lines print the average, the smallest and the largest input

Read more about pseudocodes at:

https://brainly.com/question/24735155

Property Tax

Madison County collects property taxes on the assessed value of property, which is 60 percent of its actual value. For example, if a house is valued at $158,000, its assessed value is $94,800. This is the amount the homeowner pays tax on. At last year's tax rate of $2.64 for each $100 of assessedvalue, the annual property tax for this house would be $2502.72.

Write a program that asks the user to input the actual value of a piece of property and the current tax rate for each $100 of assessed value. The program should then calculate and report how much annual property tax the homeowner will be charged for this property.

Answers

Answer:

sorry i really dont know

Explanation:

Answer:

Here is the C++ program

====================================================

#include <iostream>

#include <iomanip>

using namespace std;

int main(){

const double ASSESS_VALUE_WEIGHT = 0.60;

double houseValue, assessedValue, taxRate, tax;

cout<<"Enter the actual value of property: ";

cin >> houseValue;

cout<<"Enter the current tax rate for every $100: ";

cin >> taxRate;

assessedValue = houseValue * ASSESS_VALUE_WEIGHT;

tax = assessedValue * taxRate / 100;

cout<<setprecision(2)<<fixed<<showpoint;

cout<<"Annual property tax: $ " << tax;

return 0;

}

Explanation:

Input a double and print the first two digits after the decimal point with a space between them. Sample run: Please input a decimal number: 57.8934 Answer: 8 9 Hint - to complete the second coding activity in lesson 5 you had to learn how to get individual digits from an int value. You can reuse this method once you convert the user input to an appropriate int value (you will need both multiplication and casting for this).

Answers

Answer:

number = float(input("Please input a decimal number: "))

number = int (number * 100)

second_digit = number % 10

first_digit = int(number / 10) % 10

print("Answer: " + str(first_digit) + " " + str(second_digit))

Explanation:

Ask the user to enter a decimal number (number = 57.8934)

Multiply it by 100 (number = 5789.34) and typecast to int (number = 5789)

Use the module to get the second digit (9)

Divide the number by 10 (578.9), typecast to int (578) and use module operator to get the first digit (8)

Print the numbers as requested

The code is:

int main(){

double n;

int v, d;

scanf("%lf\n", &n);

n = n*10;

v = (int)n;

d = v%10;

printf("The first digit is %d\n", d);

n = n*10;

v = (int)n;

d = v%10;

printf("The second digit is %d\n", d);

return 0;

}

----------------------

To get each decimal digit, we multiply by 10 until the digit, then calculate the remainder of the operation(mod) of the integer part relative to 10.For example:

57.8934 x 10 = 578.934

The integer part is 578.

The remainder of the division of 578 by 10 is 8.

Now, we have to generalize it, thus:

int main(){

double n;

int v, d;

scanf("%lf\n", &n); -> Reads the double;

/*First digit*/

n = n*10; -> Multiplies by 10.

v = (int)n; -> Casts the integer part

d = v%10; 0 -> Remainder relative to 10 to get the first digit.

printf("The first digit is %d\n", d);

/*Second digit -> Does the same thing*/

n = n*10; -> Multiplies by 10.

v = (int)n; -> Casts the integer part

d = v%10; 0 -> Remainder relative to 10 to get the first digit.

printf("The second digit is %d\n", d);

return 0;

}

A similar problem is given at https://brainly.com/question/18340665

How many pins are in the power supply connector that is typically used on most motherboards today?

Answers

Answer: 4 pins

Explanation:

Answer: 20+4 ATX pins.

Explanation: If you’re talking about supplying power from the PSU to the Motherboard then it would be the 20+4 pin connector. Back on old ATX motherboards it used to be the 20 pin connector.

What are language standards? At this point in your study of programming, what do they mean to
you?

Answers

In computing, a programming language specification (or standard or definition) is a documentation artifact that defines a programming language so that users and implementors can agree on what programs in that language mean.

What is the difference between an IP address and an IP Packet?

Answers

Answer:

The IP address is a numerical number assigned to a device when connected to the internet for better identification. Whereas, the IP packet is the packet which contains the total information of the content that is carried over the network from host to destination and vice versa.

Explanation:

I hope this helped and plz give brainliest!

What device to use when downloading a large file?

Answers

Pc is a device to downloading load file

identify the benefit of modeling to communicate a solution. ​

Answers

Answer:

provides a graphical design or representation of solution with symbols.

Explanation:

Communication models help identify and understand the components and relationship of the communication process being studied. Models represent new ideas and thought on various aspects of communication which helps us to plan for effective communication system.

Answer: D

Explanation:

Why should we care about information being represented digitally? How does this impact you personally?

Answers

information digitally represented shows a level of understanding i.e it eases the stress of complexity. It is more interpretable.

it has a great impact on users personal since use can use and interpret information well as compared to other forms of represention

Reasons why the adoption of digital information representation should be made paramount include ; large storage, accessibility and retrieval among others.

Digital information may be explained to collection of records and data which are stored on computers and other electronic devices which makes use of digital storage components such as memory cards, hard drive and cloud services.

The advantages of digital data representation include :

Large storage space : Digital data representation allows large chunks of information to be kept and stored compared to traditional mode of data storage.

Easy accessibility : Digital information representation allows users to access and transfer data and stored information more easily and on the go as it is very easy to access and transfer information seamlessly to other digital devices.

Data stored digitally allows for easy manipulation and transformation of data as digital information allows for more orderly representation of information.

The personal impact of digital information from an individual perspective is the large expanse of storage it allows and ease of retrieval.

Learn more : https://brainly.com/question/14255662?referrer=searchResults

Which of these is an example of gathering secondary data?
searching for a chart
drafting a map
collecting soil samples
interviewing experts

Answers

Answer:

searching for a chart

Explanation:

:)

Answer:a

Explanation:

took the quiz

The next four octal numbers after 36 is:________.
a. 36, 37, 40, 41
b. 37, 40, 41, 42
d. 36, 37, 38, 39
c. none of the Above

Answers

Answer: b. 37, 40, 41, 42

Explanation:

The next four octal numbers after 36 is 37, 40, 41, 42.

The octal numeral system, which is also referred to as "oct" for short, is simply base-8 number system.

It is a number system whereby only digits from 0 to 7 are used and there are no letters or numbers that are above 8 that are used.

In this case, after 36, the next number will be 37 after which we go to 40 as we can't write 38 in the octal system. Therefore, the next four octal numbers after 36 is 37, 40, 41, 42.

Choose all of the items that represent functions of the operating system kernel.

memory management

process management

user interface

system input and output (I/O) management

file creation and management

Answers

Answer:

A. memory management

B. process management

D. system input and output (I/O) management

E. file creation and management

Answer:

1,2,4,5

Explanation:

E2020 - Intro to Information Technology

What is the Internet address of the speech you listed to?

Answers

Answer:

To get the address of a website page, check the URL address at the top of the browser window.

Explanation:

The internet is global interconnection of multiple networks. All devices in the network must have a web address to communicate in the network. The IP version 4 and 6 are two concepts of addressing devices on the internet. The DHCP and DNS internet protocols are used to assign address and map addresses to string-like URLs respectively.

Define the P0 and P1 indicators and explain what they mean?

Answers

Answer: The headcount index (P0) is used to measures the proportion of the population which are poor.

The poverty gap index (P1) is used measure the extent to which individuals fall below the poverty line.

Explanation:

The headcount index (P0) like the name suggests is used to measure or know the proportion of a population which are poor, this does not indicate or show us how poor, the poor people in that society are.

The poverty gap index (P1) is used measure the extent to which individuals fall below the poverty line. This is used or compared to a poverty line already created. To know how far below individuals are under the poverty line system.

The _____ is the size of the opening in the camera that the light passes through.

Shutter
Lens
Aperture
Sensor

Answers

The answer is aperture

Answer:

now you can give them brainlist by clicking on the crown on their answer! :)

Explanation:

What is the name of a shortcut you can click to access other websites? A. A post B. A key C. HTML D. A link

Answers

Answer:

D. A link

Explanation:

I hope this helps.

Answer:

A LINK

Explanation:

I just did the test

Other Questions
Read the sentences. After the basketball game, our whole team decided to order some pizza. ___, our parents went for salad! Which word or words best complete the sentence to show a contrast? Likewise, On the contrary, Before, As well as. Which integer is 45 square closest to? Read and write a paragraph.Write a short description, using complete sentences in Spanish, telling your best friend about a class you have. Use thevocabulary from this lesson and the following instructions as a guide.You may copy and paste the accented and special characters from this list if needed: , , 6, 6, 1, 1, 6, 6, , , 0, N, , i, ..-Note: The sample sentences in parentheses are just a guide to help you form your sentences. You must come up with your own originalanswers keeping academic integrity intact. In one sentence, state a class you have in the evening. Remember to use the yo form of the verb tener. (e.g., I have art class inthe evening.). State at what time the class starts. Remember to use the correct form of the verb empezar and that the numbers used to tell the timeshould be in words. (e.g., The class starts at seven p.m.). State at what time the class ends. Remember to use the correct form of the verb terminar and that the numbers used to tell the timeshould be in words. (e.g., The class ends at eight p.m.) State whether you are early, on time, or late for the class. (c.9., I am early.) what is an oxidation reaction? Which polynomial functions are written instandard form? Select all that apply.f(x) = 8-25f(x) = -3.25 + 5x 2f(x) = 2x5 + 2x + x3f(x) = x3 - 8x2 The __________ helped historians understand hieroglyphics. (Rosetta Stone/astronomers) 4/11x10/8What is the answer If your lifestyle budget is fifty thousand dollars a year, selecting a career earning seventy-five thousand dollars a year will most likely allow you to meet your lifestyle budget PLEASEEEEE HELPPPP!!!!!!!Martha likes to bowl and wants to compare total costs to find the bowling alley that offers the better deal. She has two bowling alleys to consider: Ten Pin Alley charges $3.00 for shoe rental and $2 per game. Northrock Lanes charges $6.00 for shoe rental and $1 per game.Write a system of equations to represent this situation where x represents the number of games bowled and y represents the total cost. A seesaw pivots as shown in below. What is the net torque about the pivot point?With explanation pleaseI GIVE 25 POINTS Baking powder is example of??? How are right and freedoms of individuals protected in a democratic society? TOPIC: simultaneous linear equationsp + 2q = 3, p - 2q = 3 how does the author of the o pioneers use sensory details to establish the setting ? use two details from the story to support ur response Lipids commonly contain fatty acids. What are the two parts of a fatty acid? Check the correct answers below.A. amino groupB. long chain of carbon and hydrogenC. carboxyl groupD. R groupE. nucleotide what evidence showed that kino was content with his life even though he and juana were very poor Overall health is related to a balance of the six dimensions of health. PLEASE HELP ME IM STUCK ON A,B,C PLEASE HELP PLEASE I NEED THE ANSWER LIKE IN THE NEXT 10 MINS!!!!!What is f(-2) of the function given below? F(x)=3x^2-4x+1 More than 200 different type of cels exist in the human body. Why do you think these cells are important for various body functions? Explain your response