What is the output?
X = 9 % 2
if (x == 1):
print ("ONE")
else:
print ("TWO")

Answers

Answer 1

Answer:

ONE

Explanation:

9 % 2 = 8 remainder 1

mod is asking for the remainder, so x = 1.

Since x equals 1, it will print ONE.


Related Questions

Here dude this is what I was talking about

Answers

Answer:

go to your email and refresh the page and if it didnt work just email them

Put ur number if I dosent work then send them a email

In 1-2 Sentences, Explain how you would open a new Word processing Document

Answers

Explanation:

first you open word processing app. then in the home screen you will see start a new document then you start one.

Which of the following programming languages were initially developed to teach programming techniques to students? Choose all that apply.

Answers

Answer:

BASIC programming language

Pascal programming language

Explanation:

C++ programming language

Java programming language

BASIC programming language

Pascal programming language

Answer:

it's C and D

Explanation:

The answer is D!!Readable code includes
o the use of formatting to make the code look better.
the use of dense lines of code without indentation.
o the use of comments that are of no use to future users of the progran

Answers

Answer:

D

Explanation:

says in title

Readable code includes the use of comments that are of no use to future users of the program. The correct option is c.

What are readable codes?

Readable code is just code that makes its goal crystal plain to the reader. The likelihood is that other developers will read the code we write and want to either comprehend it or modify it. It's interesting to read the code. Variable, function, and class names in the code are meaningful.

The code may need to be tested, a bug fixed, or a new feature added. The evolution of the codebase is facilitated by readable source code, which makes it easier to read and comprehend the abstraction phases. Future developers can save time and effort by writing readable code.

Therefore, the correct option is c, the use of comments that are of no use to future users of the program.

To learn more about readable codes, refer to the link:

https://brainly.com/question/19540616

#SPJ2

Suponiendo que el centro de la gravedad de la barra se enchentra a 3 m del punto de apoyo,y su contrapeso, de 4800 N, se encuentra a la distancia indicada en la figura, ¿Cual deberia ser el peso de la barra para que la barrera este equilibrada?

Answers

Answer:

C

Explanation:

because...

How do you access the printing functions and settings in Outlook messages?
O Click the Print button on top of the message in the Reading Pane.
O Open the Print window under the View tab on the ribbon.
O Go to the navigation bar and click the Print icon at the bottom.
O Go to the message and access the Backstage view of the message.

Answers

Answer:

it D Go to the message and access the Backstage view of the message.

Explanation: just trust me

When you get a new sim card do it come with a new number or do you have a activate the phone and get a new number in store ?

Answers

put the sim card in the phone and turn the phone on, it technically comes with the card but you really interact with it until you turn the phone on.

HELP ASAP!!! What portfolio document is most likely to speak of your soft skills?
cover letter
transcript
recommendations
resume

Answers

Answer: resume

Explanation:

Answer:

recommendations was the right answer

Explanation:

PLS i need help - programming challenge

Write an algorithm that:

· Ask the user to input how many GCSE’s they have.

· They should then be allowed to enter a result for each GCSE grade.

· The computer should work out how many points they have got (9=9, 8=8, 7=7 etc).

· If their score is 40 or over it should output ‘You can go to the sixth form’

· If they their score between 35 and 39 it should output ‘A discussion is needed’

· Otherwise it should say ‘Sorry not enough points.’

Answers

This is written in python 3, so you need to have python and rename the file to GCSE.py

It runs in vanilla python, no addons required.

You are embedding a video in your Webpage. What three formats should you specify in the source
element to ensure that most browsers and devices can access your video?
a
b
MP4, MP3 and Wav
WebM, Ogg and Wav
MP4, MP3 and Ogs
MP4, WebM and Ogg
с
d
Next Page
Back

Answers

Answer:

d

Explanation:

Describe advantages and disadvantages for microprocessor controlled devices in the household.
(4) point form pls

Answers

1.Easier actions 2.Time saving 3.Money saving 4.Energy saving

NEED ASAP.


Which multimedia feature can be used to automatically move objects in your slides?
X transition
O animation
O clipart
O innovation

Answers

Animationnnnnnnnnnnnn
Animation or clip art!!

Android OS "AFTER" Beta.
A. Cupcake
B. Candy
C. Cookie
D. Carmel

Answers

Answer:

Android OS "AFTER" Beta is;

A. Cupcake

Explanation:

The Android Beta mobile operating system was released on November 2007 while on the 23rd of September, 2008, the first commercially available version of the Android, Android 1.0 was released

Android 1.0 and 1.1 were not assigned actual code names and the first Android mobile operating system release to be assigned a code name is the Android 1.5 which was code named Cupcake by the project manager

.xls is the file extension for this file type

A. Image File

B. Internet File

C. Spreadsheet File

D. Word Processing File

Answers

Answer:

Spreadsheet File

Explanation:

Most word processing files are doc or docx

Most internet files are htm or html

Most Image files are jpg or png

Is the PS5 a W or L? Would you still play on the PS4 more then the Ps5?

Answers

W but PS4 is my favorite

Answer:

HMMM I dont know because if the ps4 has the horizon game then sure but if nit ps5 because that game looks sick

Explanation:

A structure that organizes data in a list that is commonly 1- dimensional or 2- dimensional
Group of answer choices

Array

Linear Section

Constant

No answer text provided.

Answers

Answer:

  (a)  Array

Explanation:

An array is a data structure that can be used to organize 1- or 2-dimensional data in a list.

Answer:

(a) Array

Explanation:

Which of the following numbers might this code generate: random.randint(1,9)?

0
10
11
1

Answers

Answer:

1

Explanation:

In Python programming language, the random.randint function is an abbreviation for random integers.

Basically, the random.randint is used for generating or creating a random integer numbers.

The syntax for this code can be written as;

A = random.randint(1,9)

Print ("Random number between 1 and 9 is % s" % (A))

Note, the numbers between 1 and 9 are 1, 2, 3, 4, 5, 6, 7, 8 and 9.

From the answer choices given (0, 1, 10 and 11), the only number that matches the requirement is 1.

Therefore, the number this code random.randint (1,9) might generate is 1.

which line of code will allow you to only load the localtime() method into active memory

Answers

Answer:

from time import localtime

Explanation:

have a lovely day :)

The line of code that will allow you to only load the localtime method into active memory is time.

The localtime function is simply known to be time in seconds as long as Epoch is targeted by timer into a broken-down time.

It is mostly written in local time. The function is known to be of timezone and any seasonal time adjustments. Local timezone information is used as though localtime() calls tzset().

LocalTime cannot have a muted date-time object that shows a time, often viewed as hour-minute-second. Time is shown in nanosecond precision.

Learn more from

https://brainly.com/question/19639119

Menu options are usually selected by _____the mouse.

Answers

Answer:

clicking

Explanation:

right clicking the mouse

Which of the following is true of functions?

Answers

Answer:

their is nothing

Explanation:

functions are true ....

Which details in paragraphs 1-5 contrast with your experience and expectations?

Based on these details,what do you think the setting of the story is?

Answers

Answer:

among us

Explanation:

In Outlook 2016, the Tell Me function can be accessed by
O pressing F1 on the keyboard.
clicking on the File tab, then the question mark button.
typing a query in the textbox on the ribbon.
typing "help" in the search box in the message pane.

Answers

In Outlook 2016, the Tell Me function can be accessed by

O pressing F1 on the keyboard.

clicking on the File tab, then the question mark button.

typing a query in the textbox on the ribbon.

typing "help" in the search box in the message pane.

Explanation:

I think it should be typing a query in the textbox on the ribbon.

In Outlook 2016, the Tell Me function can be accessed by clicking on the File tab, then the question mark button. The correct option is B.

What is Outlook?

The preferred email client for sending and receiving emails from Microsoft Exchange Server is Microsoft Outlook. Accessibility to contact, email, calendar, and task management tools is also provided by Outlook.

You can send and receive emails, manage your calendar, save the names and phone numbers of your contacts, and keep track of your projects using Outlook.

Even if you utilize Outlook on a daily basis, you might not be aware of all the wonderful things it can do to boost your productivity.

By selecting the File tab, then the question mark button in Outlook 2016, you may open the Tell Me feature.

Thus, the correct option is B.

For more details regarding Microsoft outlook, visit:

https://brainly.com/question/26695071

#SPJ2

How much mail can be
stored in each mail box?​

Answers

Answer:

Most mailboxes are 1 - 4 GB with one or two larger.

Explanation:

Consider the following code: x = 5 x = x * 3 print (x) What is output

Answers

Answer:

Output: 5

Explanation:

It will print 5 on the screen

How do I do this? Can someone please tell me.

Answers

Answer:

Below is a quick example of how to do it.  Note though that the instruction to output "annual rainfall to one decimal place" sounds erroneous to me, as I would expect the numbers to be entered as integers (but perhaps I'm wrong).

In my opinion it would be far more sensible to round the average to a single decimal place instead.

start a running tally at zero

set "aboveTally" to zero (this will be used to count which months are above the average)

for each month{

   prompt for rainfall that month, storing it in an array

   Also add that value to the running tally

}

average = tally / 12

// Output list of month's rainfalls, and get a tally of those above average

for each month{

       print month + ": " + amount input for this month

       if total for month > average: aboveTally++

}

//output total anual to one decimal place:

print "total anual rainfall: " + (int)(tally * 10) / 10

//output number of months above the average:

print "Number of months above averayge: " + aboveTally

Why is it important to know the skills, experience needed and pay for a potential career choice?

Answers

you want to know what you’re future might look out to be (labor, money, health, spirit)

You can raise an object to a height of 2 meters by pulling down a distance of 8 meters on a pulley with a force of 40 N. How heavy an object can you lift with his effort?

Answers

Answer:

160 N

Explanation:

Since, work done by effort = work done by load,

Fd = F'd' where F = effort force = 40 N, d = distance moved by effort = 8 m, F = load and d' = distance moved by load = 2 m.

So, Fd = F'd'

40 N × 8 m = F' × 2 m

320 Nm = 2F m

So, F = 320 Nm/2m

= 160 N

So, the object that can be lifted is an object of 160 N

Microsoft word is an example of utility software?

A.true
B.false​

Answers

Answer:

false

Explanation:

Ms word is only an application software

Answer:

Option B. False is the correct answer.

Explanation:

A software that is used to take care of computer and its resources is called utility software while Microsoft word is a dedicated software for documentation and report writing also called application software.

Hence,

Option B. False is the correct answer.

What should you do first when designing a program?

Answers

Answer: talk about da progrm

Explanation:

Answer:

Step-by step Explanation:

which of these exemplifies an iterative process
A: you walk to school everyday with a friend
B: you do homework at a different time each day
C: sometimes you eat breakfast at school and something you eat at home
D: you write a research paper, review it, revise it, review it again, revise it again

Answers

Answer:

its D

Explanation:

took the test

Answer:

d

Explanation:

Other Questions
Help________________________ round 432.94 to 3 SF Please help meHow are criminal cases different from civil cases?A. Criminal cases can never lead to a defendant goingto jail.B. Criminal cases are always started by thegovernment.C. Criminal cases are only related to juvenile courtcases.D. Criminal cases can result in one party having to payfines. B1. magnesium hydroxide + sulfuric acid sulfate +2. calcium hydroxide + hydrochloric acid calcium+ water+3. lead hydroxide + nitric acid lead nitrate +-4. sodium hydroxide + sulfuric acid+ water-5. potassium hydroxide + citric acid potassium+ water-6. silver hydroxide + hydrochloric acid chloride +7. aluminium hydroxide + phosphoric acid- what is the equation of the line given the table I need help with these 2. If three pounds of bananas cost $4.50 find the cost of 10 pounds of bananas Plant and Animal CellsWhat is the name of this organelle? The number of calories listed on a food label always refers to the number in the entire package Giving brainliest for help ! A king owned land outside of his castle he has partitioned the land to give as gifts to his 5 sons what fraction of land did the king give to each of his sons here is zeke solution andy got 1/2 bill got 1/5 carl got 1/5 dirk got 1/8 and evan got 1/8 identify zeke's two errors correct them and explain why your answers are correct Andrew Jackson and the states rights and native Americans1. Why did he hate the states rights and native Americans?2. What did he do about it? (states rights and native Americans) Les Goodman is interrogated by the accusing mob.Explain why this conflict is Man vs. Man Who were the Federalists and why did they feel a large republic was the onlyprotection of individual freedom? 517 37/50 + 312 3/100 GIVE THE CORRECT ANSWER AND I WILL THANK, RATE 5 STARS, AND GIVE BRAINLIEST!!!System Of Equations:Solve by substitution:y = 2x + 34x + y = -3Group of answer choices(-1 , -1)(-1 , 1)(1 , 1)(5 , 7) Describe how the function of U.S. Courts and State Courts differ. Write as an equation: After withdrawing $7 from a checking account, Carla's balance was $89.A. w7=89B. 7w=89C. w+89=7D. w=897 *Your CCMS numerical Identification number isValue should be between 1 and 9999999. HELP PLEASE!! ILL GIVE BRAINLIEST 21. Why is there no single set of norms that everyone follows?It is not clear what the norms are.People and situations are very diverse.There must be a similar religion to have a single set of norms.Norms are the same as laws, and some people don't follow laws.