Can someone fix this so that it only says "its a payday" on 15 and 30 and on all other days "sorry, it's not payday"

tod=int(input("Enter today's day numerically:"))
if (tod != 30 or tod != 15):
print("Sorry, not a payday.")
if (tod == 30 or tod == 15):
print ("It's payday!")

Answers

Answer 1

Answer:

day = int(input("Enter today's day numerically: "))

if (day == 15 or day== 30):

   print ("It's payday!")

if (day != 15 and day != 30):

   print ("Sorry, not a payday.")

Explanation:

I just did it and 100%


Related Questions

In what ways are outlook notes useful for personal or professional use?

Answers

Final answer:

Outlook notes are useful for making quick notes, organizing tasks, and can sync across devices, aiding in both personal and professional productivity. They can also assist in the drafting and refining of professional emails, reflecting well on the individual and organization.

Explanation:

Outlook notes are an essential tool for both personal and professional use. They serve a variety of purposes, such as enabling users to make quick and informal notes, jot down tasks, and even record audio. The advantages are manifold: these notes can be synced across devices for access anytime, anywhere—increasing efficiency and productivity in any work environment. In today's business context, effective verbal and written communication are crucial, and using tools like Outlook notes helps maintain organization and clarity.

When sending professional emails, it is important to use a professional language and maintain a formal tone, as emails often serve as a reflection of both the individual and the company they represent. Outlook notes can be used to draft and perfect such correspondence before sending. Moreover, by tagging and organizing emails and notes efficiently, professionals can enhance their email management practices to ensure timely and accurate information flow within and outside the organization. Using notes in conjunction with emails can help to plan projects, create reminders for follow-ups, and collate information received or to be sent, thereby streamlining workplace productivity.


What is the atomic number of neonWhat do the following results from the TEST FOR LIFE tab indicate about the sample

Answers

The atomic number for Neon is 10.

I do not see the info for the second part of the question

PLEASE HELP Which of the following is considered a modern method of communication?

Hieroglyphics
Smoke signals
Tablet
Telegraphs

Answers

The answer would be telegraphs
Telegraphs because hieroglyphics were used by the ancient Egyptians and smoke signals are one of the oldest forms of long distance communication and clay tablets were used around 3000 years ago I believe so I think that telegraphs are considered a modern form of communication because it is the most recent made form out of all of the options

When Alyssa imports data from one database to another database, she notices some of the field names are different. She will need to _____ them.

map
merge
link
export

Answers

Answer:

Hope this helps ya   Answer: Export

Explanation:

Pat creates a table in a spread sheet

Answers

Answer:

Explanation:

Details?

How would you add the double 75.6 to the end of an ArrayList of Doubles named myDoubles?


(This is Java Programming btw)

Answers

Answer:

myDoubles.add(75.6);

Explanation:

ArrayList<Double> myDoubles = new ArrayList<Double>();

myDoubles.add(10.8);

myDoubles.add(92.46);

myDoubles.add(75.6);

The above code creates a double ArrayList called myDoubles. We add 10.8 and 92.46 initially. After these numbers, 75.6 is added to the myDoubles using add method (You need to type the list name, ".", and the method name to add the number)

How are logical operators used?
To determine a problem
To create a plan
To identify and correct errors
To make decisions

Answers

To identify and correct errors
Final answer:

Logical operators in programming are used to make decisions by comparing two statements. They include AND, OR, and NOT operators. They are used to control the flow of a program by evaluating certain conditions.

Explanation:

Logical operators are used in computer science, specifically in programming and coding assignments, to make decisions within a program. They work by comparing two statements and then making a decision based on the comparison. The main types of logical operators are AND, OR, and NOT. For instance, let's consider a program that outputs whether a student has passed a class, it might have a logical operator that checks if their attendance is above a certain rate AND if their grades are also above a certain level. Only if both conditions are true, then the program decides the student has passed.

Learn more about Logical operators here:

https://brainly.com/question/36193462

#SPJ3

100 POINTS + BRAINLYEST FOR FIRST PERSON THAT GETS IT RIGHT!!!! While writing a formula, what are some ways to insert a cell reference into the formula? CHECK ALL THAT APPLY

hovering the mouse pointer over the cell to reference


typing the cell name, such as "B4"


clicking the cell to reference


zooming in on the cell to reference

Answers

Answer:

Line second and third i.e, "typing the cell name, like "B4"  and clicking the cell to reference " the correct answer.

Explanation:

It relates to some kind of set of cells on the worksheet, which could be used to calculates the formula. It also helps to locate the information, which you want to analyze in the calculation. It can also provide the cell reference in  more than one formula in the same worksheet, that relates to Information on many other workbooks, and wrong choices can be described as follows:

Hovering provides the basic details, in which we hover, that's why it is wrong .Zooming is used in projection, it can't be used in the cell reference, that's why it is wrong.

Answer:

typing the cell name such as b4 and clicking the cell to reference or band c

Explanation:

To plan a pizza party, one may want to order enough pizza for everyone. Use the slicesPerPizza, slicesPerGuest, and totalGuests variables to compute the total number of pizzas needed to feed all the guests and store the result in pizzasNeeded. The total may have a decimal place.

Answers

Final answer:

To determine the total number of pizzas needed for a party, multiply the slices each guest will eat by the total guests and divide by the number of slices per pizza, rounding up if necessary.

Explanation:

To plan a pizza party and ensure everyone is fed adequately, you need to use a basic calculation to determine the total number of pizzas needed. If you're given the number of slices each pizza has (slicesPerPizza), the number of slices each guest will eat (slicesPerGuest), and the total number of guests (totalGuests), you can calculate the number of pizzas you need to order using the following code (in a programming language like Python, for example):

pizzasNeeded = (slicesPerGuest * totalGuests) / slicesperPizza

print ("Total number of pizzas needed:", pizzasNeeded)

This code will store the calculated number of pizzas in the variable pizzasNeeded. If the result includes a decimal, you should round up, as you can't order a fraction of a pizz. In practice, this might mean using a function like math.ceil() to ensure you're ordering enough pizzas.

Here's an example with real numbers:

slicesPerPizza = 8
slicesPerGuest = 3
totalGuests = 20
pizzasNeeded = math.ceil((slicesPerGuest * totalGuests) / slicesPerPizza)

This would compute the pizzasNeeded as 8 pizzas.

HURYY PLEASE and please be the right answer!!!with reasoning
Which strategies can Carlos use to avoid frustration or burnout while studying for a test or working on a project? Check all that apply.

Study when rested.
Take breaks while studying.
Before beginning, ask for help from a tutor.
Get help early on from a teacher, parent, or friend.
Maintain the flow by not interrupting studying for any reason.

Answers

Answer:

- Study when rested

- Take breaks while studying

- Before beginning, ask for help from a tutor.

- Get help early on from a teacher, parent, or friend.

1,2,3,4

Explanation:

Completed quiz, Correct on EDGE.

Which elements are in the Sort dialog box? Check all that apply.
Categories
Date
From
Message Preview
Show in Groups
Type

Answers

Categories Date From Show in Groups Type

What type of camera is a cell phone camera

Answers

Answer:

A camera phone is a mobile phone which is able to capture photographs and often record video using one or more built-in digital cameras. It can also send the resulting image over the telephone function. The first commercial camera phone was the Kyocera Visual Phone VP-210, released in Japan in May 1999.

Explanation:

Hope this kinda helps you :)

Answer:The first camera phone was the Kyocera Visual Phone VP-210, released in Japan in May 1999. The camera had a 110,000-pixel front-facing camera.

Explanation:

Alex and Ben both use their credit cards for purchases each month. They both have a grace period and make sure to pay their bills in full every
month before the due date. In August, Ben also uses his card for a cash advance. Which of the following is true?
Select the best answer from the choices provided.
A Only Ben will pay interest in August.
B. Only Alex will play interest in August.
C. Both Ben and Alex will pay Interest in August
D. Neither Ben nor Alex will pay interest in August.

Answers

Answer:

C. Both Ben and Alex will pay Interest in August

Explanation:

both of them would have to pay it or else it wouldn't be fair for the one who had to pay

mark me as brainliest when you can please

____enables you to temporarily hide all the open windows except the one you are viewing.

Answers

Answer:

well there is multiple ways to do that but the way i do it is swipe 4 fingers up on the mouse pad and it shows diffrent tabs.

Explanation:

Atlases may contain which type of maps?
a Road
b. Country
C. Camp sites
d. All of these

Answers

Answer:

d all of these I think is it

B. countries, they dont have roads or campsites.

What is one characteristic of good reference material?
a. It is provided by an anonymous source.
b. It is provided by a reliable source.
c. It is fictional.
d. It is out-of-date.

Answers

B.- it is provided by a reliable source.
B- by a reliable source

Miriam is very detail oriented within the first month of her new job as a network support specialist she became very good at diagnosing and fixing problems with the network Miriam’s motivation to improve soon earned her a raise

Answers

Final answer:

Miriam's success as a network support specialist highlights the importance of being detail-oriented and motivated to achieve professional growth and earn rewards. Employers can foster such development through mentorship programs and clear communication, while employees can contribute by setting clear goals and actively engaging in their roles.

Explanation:

Miriam's story exemplifies how professional growth and retention are fostered by being detail-oriented and motivated in a technical role. Through her dedication to diagnosing and fixing problems as a network support specialist, she demonstrated her ability to quickly adapt and excel, which naturally earned her a raise. This aligns with the notion that to maximize your first year on the job, one should set specific and measurable goals, remain flexible, and develop not just technical, but also collaboration and teamwork skills. Miriam's proactive approach and motivation to improve suggest she is setting herself up for a successful long-term career in IT.

Organizations can support such career development by developing workplace mentor programs, offering flexible work options, and maintaining open communication. Moreover, individuals can support their own career progress by remaining open to feedback, being resourceful, and actively participating in their work environment. By understanding where one fits in the organizational chart and establishing clear lines of communication with supervisors, an employee like Miriam can navigate the complexities of a workplace effectively and reach her potential more swiftly.

Which of the following are valid values for a boolean value in programming? (Select all that apply)

'f'
false
+
-
't'
true
0
1

Answers

Answer:

false, true

Explanation:

Boolean values can be represented by just 1 bit in a computer. These can be stored as 1 or 0. In Python you use the True and False keywords to refer to these.

What is FireWire?

a type of connector often used for real-time applications
a type of connector used for fiber optic cable
a type of connector used to connect devices to the serial port on a computer
a type of connector used for coaxial cable

Answers

Answer:

i believe its a type of connector used to connect devices to the serial port on a computer

Explanation:

Which of the following is the amount of space available on a screen to display information?
a. bread crumbs
b.drop-down menus
c. screen real estate
d. tabbed menus

Answers

Answer:

C.) Screen real estate

Explanation:

It is the amount of space available on a display for an application to provide output.

NEED HELP IN A TEST

what term describes the site-to-site VPN used by Kevin's company?

Kevin's company has offices located in different states. All the offices are connected to the head office through a site-to-site VPN connection. Kevin's company is using a(n) ____ VPN.

Answers

Kevin's company is using a site-to-site VPN to connect its office locations to the head office, securely linking them as part of the same local network. This VPN type allows geographically separate offices to maintain a secure and unified network environment.

The term that describes the site-to-site VPN used by Kevin's company, where all offices are connected to the head office through a VPN connection, is a site-to-site VPN. In essence, this setup allows for the secure linking of multiple office locations as if they were part of the same local network. This differs from a client-to-server (or remote access) VPN, where individual users connect to a network remotely. A site-to-site VPN is especially beneficial for organizations with geographically dispersed offices looking to maintain a cohesive, secure, and unified network infrastructure.

A VPN operates by channeling internet traffic through a VPN server, acts as an intermediary. This server conceals the originating IP address and encrypts data, making it difficult for external parties to monitor or intercept communications. The VPN thus serves as a secure 'tunnel' through the public internet, connecting different intranets and providing the security and functionality of a private network.

what notation system supports presenting the largest numbers using fewest digits; Binary, decimal or hexadecimal?

Answers

The notation system supports presenting the largest numbers using fewest digits is

Hexadecimal.

Explanation:

The hexadecimal numeral system, often shortened to "hex", is a numeral system made up of 16 symbols (base 16). Each Hex digit can store 16 bits of information. A single decimal digit stores 4 bits while binary obviously stores 1 bit.Each hexadecimal digit represents four binary digits, also known as a nibble, which is half a byte.The main reason why we use hexadecimal numbers is because it is much easier to express binary number representations in hex than it is in any other base number system.The standard numeral system is called decimal (base 10) and uses ten symbols: 0,1,2,3,4,5,6,7,8,9. Hexadecimal uses the decimal numbers and six extra symbols.

Final answer:

Hexadecimal notation allows for the representation of large numbers using the fewest digits compared to binary or decimal notation. It uses 16 unique symbols and is more space-efficient for this purpose. For extremely large numbers, scientific notation is often used to simplify representation.

Explanation:

When comparing notation systems to see which one can represent the largest numbers using the fewest digits, hexadecimal comes out on top. Hexadecimal notation uses 16 unique symbols (0-9 and A-F) to encode numbers. Each digit in hexadecimal represents a power of 16. For example, the single hexadecimal digit 'F' represents the decimal number 15, so it is a more compact way to show large numbers compared to binary, which uses only two unique digits (0 and 1) or decimal notation that relies on 10 unique digits (0-9).

By contrast, binary notation, although essential for computers, is not as space-efficient for human-readable numbers. The decimal number 1837, for instance, requires eleven binary digits to represent it (11100101101), showing that binary notation typically uses more digits than decimal or hexadecimal for the same number.

Lastly, decimal notation, familiar and widely used by humans, falls in the middle in terms of digit usage. Nevertheless, for extremely large numbers where even hexadecimal can become unwieldy, scientists and engineers often use scientific notation to express such numbers in a much more manageable form, regardless of the base notation.

Prompt
What are hackers?

Answers

Answer:

hackers are people who get into other people's data and destroy/steal it

Answer:

hope this helps

Explanation:

a person who uses computers to gain unauthorized access to data.

Users in the Engineering Department need a higher level of access on their local computers than other users do. In addition, you want to set power options on mobile computers that Engineering users use. All Engineering Department user and computer accounts are in the Engineering OU. What should you configure to meet the following criteria?
• When an Engineering user signs in to a computer, the user account is added to the local Administrators group on that computer.
• Enable the hibernation power mode but only if the user’s computer is identified as a portable computer. Set the power scheme to hibernate mode if the laptop’s lid is closed or the power button is pressed.

Answers

Answer:

I assume you don't need a answer anymore?

Explanation:

An example of an asset is:

A. Time
B. Money
C. A Car
D. All of the above

Answers

Answer:

D

Explanation:

All of these things have value in some sense. Time helps us keep track of, say, an important meeting. Cars help us get places in such a fast way. Money we literally require to pay for things in today's modern world. So therefore, all of these things are assets.

Where are all of your documents saved?
Computing Processing Unit (CPU)
Hard Drive (HDD)
Monitor
Hardware

Answers

Answer:

Hard Drive (HDD)

Explanation:

Answer:

Hard Drive

Explanation:

The Hard Drive is where most if not all storage is compiled, the Computing Processing Unit is how the PC functions.

Hope goes through the steps of sorting a list. The resulting list is shown below.

Which step did Hope miss?
Press the Sort icon.
Sort the list by text.
Click the Header Row option.
Choose the Ascending button.

Answers

Answer:

Click the Header Row option.

Explanation:

Click the Header Row option is the step did Hope miss. Hence, option C is correct.

What is meant by Header Row?

Click anywhere on the table. On the Home tab of the ribbon, click the down arrow next to Table, then choose Toggle Header Row. — OR— On the Table Design tab, choose Header Row under Style Options.

Table headers are the rows at the top of a table that identify each column. The table below, for instance, has three columns with the headings "Name," "Date of Birth," and "Phone."

The grey row with the letters. used to identify each column in the spreadsheet serves as the column heading or column header in Excel and Sheets. The column header appears after row 1 in the worksheet.

Select the row you want to make the header for, then use the right-click menu to choose Table Properties. At the top of each page, select the Row tab and check Repeat as header row.

Thus, option C is correct.

For more details about Header Row, click here:

https://brainly.com/question/14479218

#SPJ2

A system might help managers to

Answers

Answer:Decisions are only as valid as the information on which they are based. Management information systems improve your decision-making, because they provide information that is accurate, timely, relevant and complete.

Explanation:

Decisions are only as valid as the information on which they are based. Management information systems improve your decision-making, because they provide information that is accurate, timely, relevant and complete.

Which event on Earth led to the invention of Newtri?

Answers

i think it’s A not sure

The invention of agriculture led to the invention of Neolithic by providing a larger and more dependable food supply and allowing humans to settle down in villages and cities. This shift in lifestyle resulted in continued population growth and brought about significant changes in human society. Correct option is D. People didn't appreciate real food and wanted something different.

The invention of agriculture around 10,000 years ago led to the invention of Neolithic because it provided a larger and more dependable food supply.

With agriculture, humans were able to settle down into villages and cities, and this shift in lifestyle allowed for continued slow population growth.

Agriculture also brought about changes in how humans understood land, organized socially, and acquired wealth, ultimately leading to the establishment of sophisticated Neolithic settlements.

Correct option is D. People didn't appreciate real food and wanted something different.

The probable question may be:

3. Which event on Earth led to the invention of Newtri?

A. People didn't have time to cook a full meal.

B. After the bees died, people started starving.

C. After the forest fires, nothing grew on the land.

D. People didn't appreciate real food and wanted something different.

Write a method called dangerousDescent that determines whether there is a downhill section in the hiking trail with a gradient of more than -5%. The gradient is calculated by the rise in elevation over the run in distance. For example, the last kilometer section has a gradient of -1% because the rise in elevation is 40 - 50 = -10 meters. The distance covered in 1000 meters. -10 / 1000 = -1%.


Your method should return true if there exists a dangerous descent in the given array, false otherwise.

Answers

Answer: the explanation gives you the code used

Explanation:

There are several ways to go about this, here is just one way to carry out this computation.

#include <iostream>

using namespace std;

bool dangerousDescent(int* elevationArray , int sizeOfElevationArray)

{

  //we calculate gradient throughout elevationArray and if any one of them is more than -5%

  //then return true else return false

  //gradientOfSectionX = rise in elevation/Distance covered in merters

  //where rise in elevation is (elevationOfX - elevationOfX_previous)

  bool isDangerousDecent = false;

  float gradient = 0;

  int threshold = -5;

  float riseInElevation = 0;

  for (int i = 0; i < sizeOfElevationArray && isDangerousDecent == false; i++)

  {

      if (i > 0)

      {

          //check to avoid array out of bound error

          riseInElevation = (elevationArray[i] - elevationArray[i - 1]);

          gradient = riseInElevation / 1000; //1000 meters = 1km because every marker is at 1 kilometer distance

          gradient = gradient * 100; //percentage

          if (gradient > threshold)

          {

              isDangerousDecent = true;

              cout << "There is a gradient of " << gradient << "% on section " << elevationArray[i] << " of hiking trail " << endl;

          }

      }

      //first section not included because that was starting point with 0% elevatoin

     

  }

  return isDangerousDecent;

}

int main()

{

  int elevationArray[] = { 100,50,20,30,50,40 };

  int size = sizeof elevationArray / sizeof elevationArray[0];

  if (dangerousDescent(elevationArray, size) == true)

  {

      cout << "There is a dangerous decent of gradient more than -5% in hiking trail " << endl;

  }

  else

  {

      cout << "There is no dangerous decent of gradient more than -5% in hiking trail " << endl;

  }

  system("pause");

}

Other Questions
Cul es la raz cuadrada de 225 Lucia and Marcus are playing a board game. They roll 2 dice (number cubes) to see who goes first. The person who rolls the highest sum gets to go first. If there is a tie, they each roll the dice again. Lucia went first and she rolled a 4 and a 1. Find the probability that Marcus will not get to go immediately after he rolls the dice. Show all of your work below. Express your answer as a fraction in simplest form, a decimal and a percent Why did the U.S. take the land back that had been promised to the Native Americans in the Black Hills region of North and South Dakota?A. The U.S. wanted to show its power over Native Americans.B. The U.S. wanted to keep Native Americans farther away from settlers.C. Nearby settlers were being raided constantly.D. Gold was discovered and the U.S. wanted it. NEED HELP STARTING A MEDIEVAL STORY ABOUT A GIRL NAMED Eve.She helps her dad (who works as a swordsman), dangerous job, finds beast along way, steals him/saves him, assassins kill father due to classified info, now hunting for daughter because she has necklace good. shes on the run. Find the mean, median, and mode of 3, 5, 1, 5, 1, 1, 2, 3, 15. Fill in the blank with the appropriate preterite form of the verb morir:La probe mujer _______ a los ochenta anos.A.) MoriaB.) MoriraC.) MurioD.) Muere Brickhouse is expected to pay a dividend of $2.85 and $2.34 over the next two years, respectively. After that, the company is expected to increase its annual dividend at 3.3 percent. What is the stock price today if the required return is 10.7 percent A proton is released from rest in a uniform electric field that has a magnitude of 8.0 x 104 V/m. The proton undergoes a displacement of 0.50 m in the direction of E Find the change in electric potential, the voltage, between point A and B. Find the change in potential energy of the proton-field system for this displacement. Hint: U Neglecting the presence of friction, air drag, and other inefficiencies, how much gasoline is consumed when a 1300 kg automobile accelerates from rest to 80 km/h. Assume the density and enthalpy of gasoline are 680 kg/m3 and 45 MJ/kg respectively. Express your answer in the units of mL. Show all work and use SI units for full credit. Box your final answer(s) Which statement illustrates the distributive property? 3(4+5)= 3(4)+5 3(4+5)= 3(4)+3(5)3[(4)+(5)] = 3(4)+3(5) 3[(4)(5)] = [3(4) ][ 3(5)] Select the property that allows m + 0 to be written as m.commutative - additiondistributiveassociative - multiplicationsymmetriccommutative - multiplicationassociative - additionidentity - addition Complete the steps to find the area of the trapezoid.Area of rectangle = v square unitsArea of triangle 1 = L M square unitsArea of triangle 2 = square unitsArea of triangle 3 = square unitsArea of trapezoid = square units The growth of the plants that reindeer used as food could not keep up with the needs of the reindeer population. what was the probable cause?a. the reindeer population exceeded it carrying capacityb. the reindeer population stopped reproducingc. the reindeer population was under its carrying capacityd. the reindeer population was unable to reproduce fast enough Maria makes a deposit of $10,000 into her Smalltown Bank savings account. Smalltown Bank holds 20% of her deposit, then lends the remaining $8,000 to Ben to buy a new car. This practice of retaining only a portion of deposits on hand is called ________.a. the gold standardb. fractional reserve bankingc. the Federal Reserve systemd. representative money If all projects are assigned the same discount rate for purposes of evaluation, which of the following could occur? A. Highminusrisk projects could be accepted when in fact they are poor investment choices. B. Lowminusrisk projects could be rejected when in fact they are good investment choices. C. Highminusrisk projects could be accepted when in fact they are good investment choices. D. All of the choices could occur when using a single discount rate for all projects. I want help ,i want an answer;( What is the value of s? Bankers at a large financial institution created the linear regression model d=0.370.0004s to predict the proportion of customers who would default on their loans, d , based on the customers credit score, s . For a customer with a credit score of 700, which of the following is true? There were 30 voters. Exactly 10% of voters chose which candidate?Candidate A-12Candidate B-3Candidate C-6Candidate D-9 Jolly Blue Giant Health Insurance (JBGHI) is concerned about rising lab test costs and would like to know what proportion of the positive lab tests for prostate cancer are actually proven correct through subsequent biopsy. JBGHI demands a sample large enough to ensure an error of 2 percent with 90 percent confidence. What is the necessary sample size?