write a code to test if a number is equal to 89 or 78

Answers

Answer 1

number = whatever value you want

if number == 89 or number == 78:

   print("The variable number equals 89 or 78.")

else:

   print("The variable number does not equal 89 or 78.")


Related Questions

Enzo is writing a paper about the similarities and differences between ancient Rome and modern America. Which text structure is he most likely to use? problem and solution comparison and contrast chronological order order of importance I NEED HELP BAD IT IS TIMED

Answers

Answer:

The correct answer is B.) comparison and contrast

Explanation:

just did the unit test review. you are welcome

Answer:

The correct answer is compare and contrast.

WHO WANTS TO PLAY AMONG US

Answers

Answer:

Explanation:

ME

Alright, Give me a code

Jacob wants to track the profiles of users who visit his Web site. He would like to store the user’s age, income, and location. He should use a _____.


database

template

word processor

spreadsheet

Answers

Describe the spreadsheet. Spreadsheets were created as electronic alternatives to paper accounting worksheets.

What facilitates user tracking on your website?

Search Engine Analyses Simple audience and behavior analytics are provided by Analytics. The demographics of users, the devices they used to access your site, and whether they have previously visited can all be segmented. Additionally, it can monitor a website's traffic volume and advertising effectiveness.

What collects visitor data from websites?

As a conventional analytics system, it provides statistics and information about the traffic to a website, including page visits, sessions, time on page, bounce rates, and much more. Analytics can demonstrate how visitors engage with your website because it is a conventional analytics tool.

To know more about  Spreadsheets visit :-

https://brainly.com/question/8284022

#SPJ1

What is the main difference between a peripheral device and other types of devices? Choose the best answer.

A.
It only accepts input.
B.
It only provides output.
C.
It is attached externally to a computer.
D.
It does not need a computer to perform its function.

Answers

The answer is C: is is attached externally to a computer.

vkbfnkynbvkbj how do i unblocked websites on my school laptop?

Answers

Answer:

impossible

Explanation: sorry but too bad

What are non-examples of wage and salary?

Answers

Answer:

Recent Examples on the Web: Noun The goal, ideally, should be to pay workers a livable wage — not a less bad one than the museum down the road.

Find the difference between monocots and dicots clarify with an example​.

Answers

Answer:

The seed in the plant having one cotyledon is called as the monocotyledon, while the seed in the plant having two cotyledons is named as the dicotyledon.

Explanation:

Monocots are herbaceous.

Dicots are both woody as well herbaceous.

Monocotyledon- Leaves in monocots have parallel venation

Dicotyledon - Leaves in dicots have reticulate or net venation

Answer:

Woody/Herbaceous

Explanation:

Which of the following job tities is held by a person working at a global food distribution ?

Answers

Hi! Please give me Brainliest! Thanks!

Without net neutrality, which of these situations might occur? (Select all that apply.) a cable company might charge different bandwidth rates for large corporations and individual consumers an online newspaper might find its website slowing down because a telecomm company does not like its politics a big movie studio might find its upcoming film streamed illegally a service provider might choose not to provide service in poor areas

Answers

Answer:

a. a cable company might charge different bandwidth rates for large corporations and individual consumers

b. an online newspaper might find its website slowing down because a telecomm company does not like its politics

d. a service provider might choose not to provide service in poor areas

Explanation:

Net Neutrality is the idea that internet service providers are not to discriminate against users or treat them unequally due to their content, the information they wish to share, their website, the type of device they are using, etc. This principle also ensures that users are not charged differently based on the reasons listed above, among others.

Without this principle put in place, internet service providers can decide to slow down people's networks, charge differently, or entirely block a network because the users do not measure up to some of their standards or criteria.

Please answer quickly :S

A keyboard would be considered _____. Select 2 options.




storage


an input device


hardware


software


an output device

Answers

Hardware and an input device

Answer: An input device and hardware

Explanation:

A school is developing a program to keep track of information about students and their class schedules. In which of the following instances would a data abstraction be most helpful?

A. The program includes individual variables to store the names of each student rather than a single list of students.

B. A program includes multiple comments that could be combined into a single comment

C. A program includes repeated programming statements that could be moved inside a loop

D. A program includes repeated code that could be moved inside a function.

Answers

Answer: D

Explanation: A doesn't make sense, B doesn't either.

However you're left with C and D. In this case I can understand if you picked C, but I picked that and got the answer wrong.

D makes sense since data abstraction means to simplify the code to make it easy to read and point out details while removing other components.

A function allows one to understand the intention of the code by its name and thus it makes it easier to read.

Therefore, I suggest D.

If the school is to keep track of information about students and class schedules, a data abstraction would be most helpful if the program includes individual variables to store the names of each student rather than a single list of students.

Data abstraction can be described as the reducing of data in order for it to be more simplified and used to represent only the essential characteristics.

It would be most helpful in this option because it has been reduced to individual variables instead of the full list of the students

Read more on https://brainly.com/question/23230368?referrer=searchResults

In 2-5 paragraphs, describe how you would create a new database using your software.

Answers

Answer:

1. open the software

2. select a new blank database or database wizard

3. name the database

4. enter field names and select the type of field (text, number, date, currency)

5. make one of the fields the primary key

6. click done, or save and close

7. open the table and add records

PLZ ANSWER QUICKLY! TIMED!
Select all that apply.

Select all barriers to oral communication.


well organized

laziness

lack of time for preparation

accent

being unprepared

not paying attention

noise

Answers

Answer:

noise accent unpreparedness would be some examples

The barriers to oral communication are as follows:

AccentBeing unprepared.Noise.Not paying attention.

What is Oral communication?

Oral communication may be defined as the process of expressing your thoughts, feelings, emotions, etc. with the utilization of words spoken directly by mouth irrespective of any techniques or instruments.

It is one of the best and fastest ways of communication as compared to written and signed communication. It only involves an action of words that directly makes a communication influential.

Due to the direct utilization of words through mouths, it has numerous barriers that ultimately decrease its effectiveness. Some of its barriers are noise, accent, not paying actual attention to the speaker, being unprepared, etc.

All such barriers make the halt between the listeners and speakers. The words of the speakers not successfully reached on the ears of the listeners and thus its affects the overall communication.

Therefore, it is well described above.

To learn more about Oral communication, refer to the link:

https://brainly.com/question/13134402

#SPJ2

Why does a bus topology require a terminator? a) because otherwise it would be a ring network b) because otherwise the packets will bounce back and forth from end to end repeatedly c) because otherwise the signal will fade out d) because a terminator is where a bus network connects to the outside

Answers

Answer:

B)because otherwise the packets will bounce back and forth from end to end repeatedly

Explanation:

Bus topology can be regarded as a kind of topology for a Local Area Network, it is one that has it's nodes connected to a single cable(backbone) and any break in the so called backbone, there will be failure in the entire segment. However a Terminator is usually attached to the end-points of a bus network so that the signal is absorbed by the Terminator and as a result of this the signal will not reflect back down the line. If there is no Terminator there would be bouncing back and forth of packet in an endless loop.It should be noted that a bus topology require a terminator because otherwise the packets will bounce back and forth from end to end repeatedly

.

The answer is-

B.) because otherwise the packets will bounce back and forth from end to end repeatedly

Bus topology can be regarded as a kind of topology for a Local Area Network, it is one that has it's nodes connected to a single cable(backbone) and any break in the so called backbone, there will be failure in the entire segment. However a Terminator is usually attached to the end-points of a bus network so that the signal is absorbed by the Terminator and as a result of this the signal will not reflect back down the line. If there is no Terminator there would be bouncing back and forth of packet in an endless loop.It should be noted that a bus topology require a terminator because otherwise the packets will bounce back and forth from end to end repeatedly

the compact disc drive it belongs to a.input b.output c.storage device​

Answers

Answer:

c.storage device

Explanation:

fix the code :)
- # - description of lesson lesson (3.05)

def main():
print("This progam will display a story for you")
print
person = input("Please give me a celebrity name")
setting = input("Please give me your favorite place to go")
time = input("Please give me a time of year")
item = input("please give me the name of your favorite food")
print("Once there was a person by the name of " + person + " who was visting the " + setting + " ." + " decide that
because of quarantine it was so boring and being that it was " + time + " it was time to go eat " + item + ".")

Answers

def main():

   print("This progam will display a story for you")

   person = input("Please give me a celebrity name ")

   setting = input("Please give me your favorite place to go ")

   time = input("Please give me a time of year ")

   item = input("please give me the name of your favorite food ")

   print("Once there was a person by the name of " + person + " who was visting the " + setting + " ." + " decide that because of quarantine it was so boring and being that it was " + time + " it was time to go eat " + item + ".")

main()

You have to indent everything inside the main function and then call the main function. The code runs find after that.

Answer:

def main():

  print("please answer all the qustions for this to work")

  person = input("Please give me your name example ryland")

  setting = input("Please give me where you are example house ")

  time = input("Please give me the time example 12:00 ")

  item = input("please give me the name of your favorite food example tacos ")

  print("Once there was a person who was called " + person + " who was at there " + setting + "." + "  At " + time + " you got hungry it was time to go eat " + item + ")

main()

Explanation:

Hope dis works

Which monitor will you prefer in your school ; CRT or FPD ?why ?

Answers

Answer:

CRT

Explanation:

because this is very comfortable for me

how to use access?
like working in access and bringing tables and stuff

Answers

I would recommend first familiarizing yourself with the program Access by watching introductions.

If you have even more time to spare and want hands-on experience, use Wise Owl exercises. Search up college classes assignments or guides. (Boy, do they love their big workbooks.) Essentially, do practice exercises.

Please help! I will award brainliest! its due today...












Which comment would best describe the code below?


Question 9 options:


// Rotates around the Y axis based on left/right arrow keys



// Rotates around the Z axis based on up/down arrow keys



// Rotates in an upward direction based on left/right arrow keys



// Moves object up/down based on the the left/right arrow keys

Answers

Answer:

The bottom is right I think

Explanation:

I am not really good at this stuff

The comment that would best describe the code below is // Moves the object up/down based on the left/right arrow keys. The correct option is d.

What is coding?

We connect with computers through coding, often known as computer programming. Coding is similar to writing a set of instructions because it instructs a machine on what to do. You can instruct computers what to do or how to behave much more quickly by learning to write code.

It is well known that one of the hardest subjects to master is programming. It's understandable that some people find it challenging to learn how to code given how different it is from conventional educational methods, such as college degrees in computer science.

Therefore, the correct option is d, // Moves the object up/down based on the left/right arrow keys.

To learn more about coding, refer to the link:

https://brainly.com/question/13486133

#SPJ2

1. A fish farm has a computer system that constantly monitors the quality of the
water in its fish ponds.The system uses sensors to carry out the monitoring. (a)
Name any one most appropriate sensor that could be used to monitor the quality
of the water in the fish ponds. *
O humidity
O moisture
Орн
O infrared​

Answers

Answer:

HUMIDITY

Explanation:

You would like to search for information about storms but not tornadoes. What type of search strategy may be useful?

entering keywords into many different search engines
a Boolean search
a wild-card search
searching for synonyms

Answers

Answer:

boolean search

Explanation:

Answer:

Boolean Search

Explanation:

In a networking context, architecture refers to
A: the building that houses the network
B: design
C: the hardware
D: a well built network

Answers

Answer:

The Bootstrap Protocol (BOOTP) is a computer networking protocol used in Internet Protocol networks to automatically assign an IP address to network devices

Explanation:

C

Answer:

B: Design

Explanation:

Directions and Analysis
Task 1: Typing an Essay
Select a favorite sport, contest, or game of your choice. Write an essay in standard form
(sentences, paragraphs, bullets, etc.) to include details, such as the sport or game's unique
characteristics, rules, tournaments, useful strategies, famous players, teams, etc. Your target
time for this task is 2,000 words typed accurately in 90 minutes. Ensure that you type while
maintaining the correct posture and finger placement.

Answers

Answer:

Sorry this is a typing test, too pysical for online help as for the words and time limit to reinforced learning, if content is the issue grab an article or paper and type that.

Currently, this program will add 6 and 3 together, output the math problem and output the answer. Edit this code so that a random number is generated from 1 - 10 (inclusive) for the variables a and b. Also, instead of adding the two numbers together, the edited program should multiply them, and output the proper math problem and answer. Be sure to update every line of code to reflect the changes needed.
import random

a = 6
b = 3

answer = a + b

print (str(a) + " + " + str(b) + " = " + str(answer))

Answers

I've included my code in the picture below. Best of luck.

The modifications to be done program is an illustration of random numbers using Python.

The random numbers from 1 to 10, will be generated using the random module

The modified program where comments are used to explain the lines of the programs are:

#This imports the random module

import random

#This generates a random number

a = random.randint(1,10)

#This generates another random number

b = random.randint(1,10)

#This multiplies both numbers

answer = a * b

#This displays the result of the program

print (str(a) + " * " + str(b) + " = " + str(answer))

At the end of the program, the program will print the product of both random numbers.

See attachment for sample run of the program

Read more about Python programs at:

https://brainly.com/question/22841107

3.2 Code Practice: Question 1 from edhesive ( answer in python pls)

Answers

Answer:

value = float(input("Enter a number: "))

if value > 45.6:

  print("Greater than 45.6")

Question #2
Dropdown
Choose the steps in the order discussed in the lesson.
Step 1:
Step 2:
>
Step 3:
<
Step 4:
Step 5

Input
Check Accuracy
Output
Process
Define the task

Answers

Answer:

1. define the task

2. input

3. process

4. output

5. check accuracy

Explanation:

have a lovely day <3

Composition of a scene requires a lot of careful analysis.
The process of composing shots is known as what

Answers

Answer: framing

Explanation: i just took the test and i got it right hope this helps

14. Sending files to someone else through the Internet is called? *
A. File Transfer Protocol
B. File Sharing
C. File Syncing

Answers

Answer:

The answer is b

Explanation:hope this helps

It B : File sharing

What is the name of the variable in this code?

1| fav_color = sprite.ask("What's your favorite color?")
2| sprite.say(fav_color)

fav_color

What's your favorite color?

sprite

ask

Answers

Answer:

fav_color

Explanation:

Answer:

fav_color

Explanation:

Convert the following decimal numbers into equivalent binary numbers and then convert the binary answer back into equivalent decimal. Show all the steps of conversions.
• -8735

Answers

Answer:

[tex]-8375_{10} = -10001000011111_2[/tex]

[tex]-10001000011111_2 = -8735_{10[/tex]

Explanation:

Given

-8735

Required

Convert to binary and then back to decimal

To convert to binary, we divide by 2 and write down the remainder (ignore the negative sign, first)

8735 / 2 = 4367 R 1

4367 / 2 = 2183 R 1

2183 / 2 = 1091 R 1

1091 / 2 = 545 R 1

545 / 2 = 272 R 1

272 / 2 = 136 R 0

136 / 2 = 68 R 0

68 / 2 = 34 R 0

34 / 2 = 17 R 0

17 / 2 = 8 R 1

8 / 2 = 4 R 0

4 / 2 = 2 R 0

2 / 2 = 1 R 0

1 / 2 = 0 R 1

Write out the remainder from bottom to top

[tex]8735_{10} = 10001000011111_2[/tex]

Include the negative:

[tex]-8735_{10} = -10001000011111_2[/tex]

To convert to decimal, we simply multiply the individual digits with the base (in this case, it is base 2) raise to power of the index of that digit.

There are 14 digits in 10001000011111 and the rightmost digit is of index 0 and it increased to the left.

Ignore the negative, first; so, we have:

[tex]10001000011111_2 = 1 * 2^{13} + 0 * 2^{12} + 0 * 2^{11} + 0 * 2^{10} + 1 * 2^{9} + 0 * 2^{8} + 0 * 2^{7} + 0 * 2^{6} + 0 * 2^{5} + 1 * 2^{4} + 1 * 2^{3} + 1 * 2^{2} + 1* 2^{1} + 1 * 2^0[/tex]

[tex]10001000011111_2 = 1 * 8192 + 0 + 0 + 0 + 1 * 512 + 0 + 0 + 0 + 0 + 1 * 16 + 1 * 8 + 1 * 4 + 1* 2 + 1 * 1[/tex]

[tex]10001000011111_2 = 8192 + 512 + 16 + 8 + 4 + 2 + 1[/tex]

[tex]10001000011111_2 = 8735[/tex]

Include the negative sign

[tex]-10001000011111_2 = -8735_{10[/tex]

Other Questions
All of the following were attempts by Anglo settlers in Texas to defend their territory except:a.The Battle at Plum Creek.b.Providing a group of Texas Rangers to protect villages.c.Relocating the Texas capital to Austin.d.Organizing volunteers who protect villages.Please select the best answer from the choices providedABCD How do parents' traits predict the offspring? (Explain) The expression 18a-12 factored is Approximate the solution of x^3=85 According to Squealer, how is the production of food do on Animal Farm? Switch statements describe aspects of the Inca's civilization Please helppp!!! Easy 10 points Need help with this, please. can someone please help? What type of transport takes place when a protein allows an ion to enter a cell but no energy is needed to make this happen How did the Congress of Vienna affect power and authority in European countries after Napoleons defeat? describe the powers of legislative branch, please help! Someone help me solve this please, I'd appreciate it if you can walk me through the steps. If not, just answering it is okay! :) Use mathematical induction to prove that the statement is true for every positive integer n.7+49+343+...+7n= 7n+1-7/6PLZ HELP ME Strep throat and bacterial pneumonia are examples of __________. A. bacterial communicable diseases B. viral communicable diseases C. noncommunicable diseases D. communicable diseases Please select the best answer from the choices provided. A B C D is ''it liked me'' a complete sentance or a fragment? #6. Please I really need help Transaction taxes and Excise taxes are two types of _______ taxes 50 POINTS AND BRAINLIEST!!!!!!!!!!Write an argumentative essay for your school newspaper either in favor of high schools providing competitive team sports or against competitive team sports in high school. Your essay must be based on ideas and information that can be found in the passage set.Manage your time carefully so that you canread the passages;plan your response;write your response; andrevise and edit your response.Be sure toinclude a claim;address counterclaims;use evidence from multiple sources; andavoid overly relying on one source.Your response should be in the form of a multiparagraph essay. Write your essay in the space provided. no plagiarism, i will know identify five powers held by King Louis XVI and describe why these powers may have led the French people to revolt against their government.