codehs python 4.7.6 Powers of Two
it says I'm wrong because I need

Codehs Python 4.7.6 Powers Of Two It Says I'm Wrong Because I Need
Codehs Python 4.7.6 Powers Of Two It Says I'm Wrong Because I Need

Answers

Answer 1

[tex]\huge\fbox\orange{A} \huge\fbox\red{N}\huge\fbox\blue{S}\huge\fbox\green{W}\huge\fbox\gray{E}\huge\fbox\purple{R}[/tex]

[tex]\huge\underline\mathtt\colorbox{cyan}{in attachment}[/tex]

Codehs Python 4.7.6 Powers Of Two It Says I'm Wrong Because I Need
Answer 2

Following are the program to calculate the power of two:

Program Explanation:

Defining an integer variable "i" that hold an integer value.Defining a for loop that checks "i" value in between 20, inside this it calculates power of two.At the last use print method to print its value.

Program:

i=1#holding integer value in i

for i in range(20):#defining a for that starts 1 to 20    

   i = 2 ** i#calculate power of 2 in i variable

   print(i)#print value

Output:

Please find the attached file.  

Learn more:

brainly.com/question/23170807

Codehs Python 4.7.6 Powers Of Two It Says I'm Wrong Because I Need

Related Questions

Which action must take place inside a procedure to reserve space on the stack for two doubleword local variables

Answers


after MOV EBP,ESP, subtract 8 from the stack pointer (ESP)

A ______ error occurs when the program's grammar and punctuation is correct, but something happens to halt the program before it is finished.

1. Runtime
2. Syntax
3. Logical

Answers

Answer:

Logical error

Explanation:

Answer:

Runtime

Explanation:

The program stops execution before the end of the instructions has been reached. It is not due to poor grammar/punctuation which would be a syntax error. A logical error would be due to an error in the programmer's logic but would not cause the program to terminate abnormally. This is also not the case.

a write the result P*=++j where j is 24

Answers

Answer:

ang hrap nmn nyan

Explanation:

poede po

If you want to share information with individuals who are internal to your organization, which type of network would you want to use

Answers

it is globe because I want a successful the all people

Assuming a 1-KB page size, what are the page numbers and offsets for the following address references (provided as decimal numbers): a. 3085 b. 42095 c. 215201 d. 650000 e. 2000001

Answers

Answer:

(a) page = 3; offset = 13

(b) page = 41; offset = 111

(c) page = 210; offset = 161

(d) page = 634; offset = 784

(e) page = 1953; offset = 129

The page numbers and offsets for the following address are:

page number 3, with an offset of 13.page number 41, with an offset of 47.page number 210, with an offset of 641.page number 634, with an offset of 496.page number 1953, with an offset of 49.

To find the page numbers and offsets for the given address references, we need to perform some calculations based on the page size.

Assuming a 1-KB page size (1 KB = 1024 bytes), use the following formulas:

1. Page number = Address reference / Page size

2. Offset = Address reference % Page size

a. 3085:

Page number = 3085 / 1024 = 3

Offset = 3085 % 1024 = 13

Address 3085 is on page number 3, with an offset of 13.

b. 42095:

Page number = 42095 / 1024 = 41

Offset = 42095 % 1024 = 47

Address 42095 is on page number 41, with an offset of 47.

c. 215201:

Page number = 215201 / 1024 = 210

Offset = 215201 % 1024 = 641

Address 215201 is on page number 210, with an offset of 641.

d. 650000:

Page number = 650000 / 1024 = 634

Offset = 650000 % 1024 = 496

Address 650000 is on page number 634, with an offset of 496.

e. 2000001:

Page number = 2000001 / 1024 = 1953

Offset = 2000001 % 1024 = 49

Address 2000001 is on page number 1953, with an offset of 49.

Learn more about offset here:

https://brainly.com/question/32088531

#SPJ3

Power Supply

Description :

Answers

A device that supplies power to electronic equipment which; is sometimes called A, B, or C according to its purpose of heating vacuum tube cathodes, producing electron current flow in plate circuits, or applying a direct voltage in grid circuits.

Explanation:

Not exexactly sure on what your asking

What is the complete path and filename of the file where ports and their associated protocols are defined

Answers

The /etc/services is often found in Linux/Unix.

The complete path and filename of the file where ports and their associated protocols are defined by /etc/services.

Linux Services files is known to save a lot of well-known ports. UNIX operating systems is known to save a services file at /etc/services.

It does save information about a lot of services that client applications can use on the computer.

Looking into the file, you will find the service name, port number, and protocol it uses, and other applicable aliases.

the work of the configuration file /etc/services is to help programs to be able to do a getportbyname() sockets call in their code so as to know what port they can use.

Learn more about Computer services from

https://brainly.com/question/3837126

What are web protocols.

Answers

Answer:

Web protocols are a set of standards used to exchange information. It ensures that code can be modular and portable.

Answer:

The standard network protocol of the Internet, TCP/IP, stands for Transmission Control Protocol/Internet Protocol. The Internet Protocol part of the standard refers to the addressing of data message packets. Additional protocols that operate within the TCP/IP framework include UDP, HTTP and FTP. Each has different functions and purposes that ultimately work together to provide assorted capabilities through what's currently known as the World Wide Web.

Explanation:     i hope this helps

Do you think should give credit to people who invented viral dances?

Answers

Answer:

michal jackson i think who credit to people invented viral dances.

Answer:

Yes

Explanation:

Well, they added some taste to life.

In any and every instance when the Federal Government provides recovery support, all six Recovery Support Functions will be activated. A. TRUE

Answers

Answer:

what?

Explanation:

what are the questions lol

What type of loop allows you to indicate the starting value for the loop control variable, the test condition that controls loop entry, and the expression that alters the loop control variable, all in one convenient place

Answers

Answer:

I think it's a for loop.

A for loop looks like:

for (starting statement; condition that is true; condition applied to iteration)

Explanation:

A business is having trouble keeping up with the competition. They cannot
respond to their customers like the competition. Which type of system will
likely be able to help them solve this issue?
A. Transaction processing system
B. Management communication system
C. Decision support system
D. Management information system

Answers

Answer:

Decision support system is the answer

Explanation:

When it comes to game mechanics, what is the most universal mechanic that is present in virtually every computer game that you can think of?

quests and goals
movement
catch-up
turns

Answers

I have no Clow but I wanted to answer because you cute

Explanation:

none

_____ is a privacy issue relating to the responsibility of those who collect data must ensure that the data is correct.

Answers

Answer:

Virtual private network

Create an application that prompts the user for a number and then displays the numbers 1 through the number entered, each on a separate line. Below the numbers, the sum is displayed.

Answers

Answer:

In Python:

start = num(input("Enter a number: "))

sum = 0

for x in range(1, start+1):

sum += x

print (x)

print ("Final Sum: " + sum)

Answer:

import java.util.Scanner;

public class NumberSum {

public static void main(String[] args) {

// TODO Auto-generated method stub

int num, sum=0,num1=0;

Scanner input=new Scanner(System.in);

 

System.out.println("Enter a number");

num=input.nextInt();

input.close();

 

do{

System.out.println(num1);

num1+=1;

sum+=num1;

}while(num1<=num);

System.out.println(sum);

}

}

How many binary digits are in 10^100.

Answers

Answer:

333 binary digits.

Explanation:

When you begin designing a program, you work from a ____, a description of what your program should do.

Answers

Answer:

This is usually called a brief (you will also hear this in the design industry, as well as other places)

i will give brainliest to the best answer. what is a good screen recorder

Answers

Answer:

If your on windows there is an x-box screen recorder installed on it. thats a new windows 11 update. If not, i used to use x-split broadcaster

Explanation:

If your on windows there is an x-box screen recorder installed on it. thats a new windows 11 update. If not, i used to use x-split broadcaster

mark me Brainliest

we are unable to process your request at this time. if you continue to receive this error, please contact cardholder services by calling the number on the back of your card.

Answers

Answer:

is this a sim chip card replacement card for Electronics ?

Explanation:

In older languages, you could leave a selection or loop before it was complete by using a ____ statement

Answers

Answer:

D) go to

Explanation:

A) next

B) go next

C) loop

D) go to

D) go to is correct answer

(Hope this helps can I pls have brainlist (crown)☺️)

RDP connection from outside the network to a server inside the network. Which network device will a network administrator MOST likely configure to allow this connection? Hub Switch Firewall

Answers

Answer:

Firewall

Explanation:

The firewall might block the Remote Desktop Protocol (RDP) connection. This is because hackers could use open connections to brute force passwords or control an infected computer. The firewall ensures that only authorised connections occur.

Which term refers to actions that you would perform on a computer to revive it if it functions in an unexpected manner?

Answers

Answer:

I think that it is just rebooting

Select the correct answer.
Which option would you use to insert two line breaks in your document?
A.<2br>
B.

C.


D.

Answers

Answer:

yes, I agree.

Explanation: ,

Four types of firewalls are: Packet filtering, stateful inspection, circuit level proxy and _________ .

Answers

Answer:

oxigen

Explanation:

what programming language supports relational databases?

Answers

A programming language that supports relational databases is SQL (Structured Query Language)

Structured Query Language (SQL), is the principal method for communicating with Relational Databases.

A relational database is a group of data elements that are linked together by predefined connections. These elements are laid up in the form of a series of tables containing columns and rows.

Tables are utilized for storing data about the items that will be displayed in the database. A column in a database contains a specific type of data, whereas a field records the actual value of an attribute. The table's rows indicate a collection of linked values for a single item or entity.

Each entry in a database can be assigned a unique identity known as a primary key, and rows from other tables can be linked together via foreign keys. This data may be accessible in a variety of ways without having to reorganize the database tables itself.

Learn more about Relational Databases here:

https://brainly.com/question/8457395?referrer=searchResults

I am malala how one girl stood up for education and changed the world pdf.

Answers

Answer:

what?

Explanation:

Which development model emphasizes small revisions that enhance the code and expand the functionality until the entire program is built

Answers

Answer:

Iterative

Explanation:

is the model that emphasizes small revisions, unlike waterfall which is in a linear sequential flow.

Set the Append Only property to _____ to allow users to add data to a Long Text field but not to change or remove existing data.

Answers

A computer data storage is made of many features. Set the Append Only property to YES to allow users to add data to a Long Text field but not to change or remove existing data.

Append-only is known to be a characteristic or component of computer data storage. It is where new data can be appended to the storage, but where existing data is said to be immutable.

A field's data type is very essential property as it shows what kind of data the field can store.

Learn more from

https://brainly.com/question/24795103

What is an IF statement used for?

Answers

The IF statement is a decision-making statement that guides a program to make decisions based on specified criteria. The IF statement executes one set of code if a specified condition is met (TRUE) or another set of code evaluates to FALSE.

How to get response from post request angular.

Answers

Answer:

I am trying to get full response from a POST request. I have read how to get full response for a get request mentioned at the official site of angular. Angular http

What it says is to add { observe: 'response' }. But it would work for a get request and not for post request. post request accepts 2-3 arguments, so I cannot send this as the 4th argument. Please have a look at my code and let me know what I am doing wrong.

Explanation:

const httpOptions: { headers; observe; } = {

 headers: new HttpHeaders({

   'Content-Type':  'application/json'

 }),

 observe: 'response'

};

return this.http.post('http://localhost:3000/api/Users/login', data, httpOptions) ..

Other Questions
The names of holidays, months, and days of the week should all be capitalized.TrueFalse True or false1: 4h and 4g are like terms: True or false?2: 4x and 4xy are like terms. True or false?3: the coefficient is the number by its self. True or false?4: in the expression x-4+(-5x), the constant is 4. True or false?5: in the expression x-4+(-5x), the constant is -4. True or false?6: in the expression x-4+(-5x), the coefficient -5 is . True or false?You dont need to explain the steps, if you like you may Should I stay single? what is a part of selection process for all federal judges pls help asap MIDSEGMENTS If, after reading "Let George Do It", you wanted to write a report on the current state of his home town in Alderdale, Washington, and the influences on the area by the hydroelectric plant and the John Day Dam, which of the following would be considered valid sources? Check the box in front of each source that would be considered a valid source. (Choose two answers.)a 2021 article in Scientific America titled "Impact of Power Plants on the Columbia River and the Surrounding Areas"the diary of George Warner's daughterthe journal kept by Lewis and Clark detailing their journey along the Columbia River in Washington and Oregonan entry from the most recent edition of the Encyclopedia Britannica about the John Day Damreports of the water flow of the Columbia River before construction started on the John Jay Dam in 1958a letter to the editor of the Alderdale Press in 1958 opposing construction of the John Day Dam on the Columbia River Why does Robert Frost reference the Garden of Eden in this poem?ato indicated that nature is as perfect as Edenbto indicate that paradise is lost in the wintercto indicate that paradise is lost at the end of the daydto compare the changes in nature to a loss of innocence in paradise pease HELP Me out with this science problem no point of answering a fake question cause it will be deleted and brainly will give you a BANN WARNING!! PLEASE ANSWER NEED HELP!!!!!!!! PLEASE THE CORRECT ANSWER!!!!!!Having good form is important when sitting but not when sleeping.A. TrueB. FalsePLEASE NO LINKS Which statement is true?A) Adding a negative word to a sentence changes the sentences meaning.B) Two negatives make a sentence more negative.C) Two negatives should never be used in the same sentence.D) Neither and nor should never be used in the same sentence. Auntie Anne raked leaves formore than 10 minutes but lessthan 40 minutes. The numberof minutes is a multiple of 5.The digits add up to 7. Forhow long did Anne rake? Children's Theatre is for children to watch adults perform for amusement andentertainment.TrueFalse I need help with plants again .. what is a jupiter sweet pepper Tornado Effects on the Land PLS HELP WILL MARK BRAINLIEST! ANSWER W/ SOLUTION A school needs to buy new notebook and desktop computers for its computer lab. Thenotebook computers cost $325 each, and the desktop computers cost $250 each. Howmany total computers would someone buy if they get 20 notebooks and 17 desktopcomputers? How many total computers would someone buy if they get n notebooksand d desktop computers? The brain changes which contribute to addiction occur in parts of the brain called the;. CAN SOMEONE HELP ME PLEASE ASAP! what is the simple present of ( i will meet him later) Why is the voter identification law in Texas controversial