Write a loop to print 56 to 70 inclusive (this means it should include both the 56 and 70). The output should all be written out on the same line.

Sample run:
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70

Answers

Answer 1

In python:

for i in range(56, 71):

   print(i, end=" ")

Answer 2

Answer:

for n in range(56,71):

   print(n, end=" ")

Explanation:


Related Questions

create a boolean variable called sucess that will be true if a number is between -10 and 10 inclusively python

Answers

Answer:

success = -10 <= number <= 10

Explanation:

I check that -10 is less than or equal to number, and number is less than or equal to 10.

Write an application named [LastName]_MultiplicationTable and create a method that prompts the user for an integer value, for example 7. Then display the product of every integer from 1 through 10 when multiplied by the entered value. For example, the first three lines of the table might read 1 x 7 = 7, 2 x 7 = 14, 3 x 7 = 21. .. . ..

Answers

Answer:

I did this in C# & Java

Explanation:

C#:

       public static void Main(string[] args)

       {

           int input = Convert.ToInt32(Console.ReadLine());

           Multiply(input);

       }

       public static int Multiply(int input)

       {

           int ans = 0;

           for(int i =1; i<=10; i++)

           {

               ans = i*input;

               Console.WriteLine(i + "*" + input + "=" + ans);

           }

           return ans;

       }

Java:

   public static void main(String[] args)

   {

       Scanner myObj = new Scanner(System.in);  

       int input = Integer.parseInt(myObj.nextLine());

       Multiply(input);

   }

   public static int Multiply(int input)

   {

       int ans = 0;

       for(int i =1; i<=10; i++)

           {

               ans = i*input;

               System.out.println(i + "*" + input + "=" + ans);

           }

       return ans;

   }

Your job is to write a basic blurring algorithm for a video driver. The algorithm will do the following: it will go through all pixels on the screen and for each pixel, compute the average intensity value (in red, green and blue separately) of the pixel and its 8 neighbors. (At the edges of the screen, there are fewer neighbors for each pixel.) Let's say the number of pixels on the screen is n. Then what is the order of the number of arithmetic operations (additions and divisions) required?
a. The number is order of n 4 .
b. The number is order of n2.
c. The number is order of n
d. The number is order of n3.

Answers

I’m pretty sure answer is B let me know if I’m wrong

an indicator is a comprehensive analysis of critical information

Answers

Answer:

True.

Explanation:

An indicator is a comprehensive analysis of critical information by an adversary normally providing the whole picture of an agency's capabilities.

Hope this helps!

An indicator is a comprehensive analysis of critical information by an adversary normally providing the whole picture of an agency's capabilities is true.

Thus, Information that is critical is integrity class-2 information. Samples 1 through 3 are given. according to 3 papers Make a copy Critical information is defined as information that must be shared from shift to shift in order to ensure the health, safety, and welfare of the people served.

Examples include, but are not limited to: irrational behavioral outbursts, sudden or unexplained mood swings in individuals, the administration of PRN medication, transportation issues, unanticipated trips to the doctor or hospital, routine doctor visits requiring follow-up, reportable and information.

All parties working on the Subcontract, including support staff, must be informed of critical information in order for it to be protected against unintentional release and to guarantee that all parties are aware of it.

Thus, An indicator is a comprehensive analysis of critical information by an adversary normally providing the whole picture of an agency's capabilities is true.

Learn more about Critical information, refer to the link:

https://brainly.com/question/32115676

#SPJ6

Read the following code:


x = 1

while(x < 26)

print(x)

x = x + 1


There is an error in the while loop. What should be fixed?


1. Add a colon to the end of the statement

2. Begin the statement with the keyword count

3. Change the parentheses around the test condition to quotation marks

4. Use quotation marks around the relational operator

Answers

This is python code.

In python, you are supposed to put a colon at the end of while loops. This code does not have a colon after the while loop, therefore, you need to add a colon to the end of the statement.

The error to be fixed in the while loop is to add a colon at the end of the while statements.

x = 1

while (x<26)

     print(x)

     x = x + 1

This is the right code;

x = 1

while(x < 26):

   print(x)

   x = x + 1

The actual code , the while statement is missing a colon at the end of it.

The code is written in python. In python while or for loops statements always ends with a colon.

In the error code, there was no colon at the end of the while loop.

The right codes which I have written will print the value 1 to 25.

learn more on python loop here: https://brainly.com/question/19129298?referrer=searchResults

how many basic element makes up a computer system​

Answers

Answer:

4

Explanation:

Input/output, datapath, control, and memory

There wrong its C bold it.

:)))))

Which is an example of an operating system

a
Adobe Photoshop

b
Internet Explorer

c
Windows

d
Microsoft Word

Answers

Answer:

windows

Explanation:

Examples of Operating Systems

Some examples include versions of Microsoft Windows (like Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP), Apple's macOS (formerly OS X), Chrome OS, BlackBerry Tablet OS, and flavors of Linux, an open-source operating system.

Which of the following is true of how packets are sent through the internet?

Answers

Answer:

It is A: Packet metadata is used to route and reassemble information travelling  through the internet.

Explanation:

Step 1: The Internet works by chopping data into chunks called packets. Each packet then moves through the network in a series of hops. Each packet hops to a local Internet service provider (ISP), a company that offers access to the network -- usually for a fee

Step 2: Entering the network

Each packet hops to a local Internet service provider (ISP), a company that offers access to the network -- usually for a fee.

Step 3: Taking flight

The next hop delivers the packet to a long-haul provider, one of the airlines of cyberspace that quickly carrying data across the world.

Step 4: BGP

These providers use the Border Gateway Protocol to find a route across the many individual networks that together form the Internet.

Step 5: Finding a route

This journey often takes several more hops, which are plotted out one by one as the data packet moves across the Internet.

Step 6: Bad information

For the system to work properly, the BGP information shared among routers cannot contain lies or errors that might cause a packet to go off track – or get lost altogether.

Last step: Arrival

The final hop takes a packet to the recipient, which reassembles all of the packets into a coherent message. A separate message goes back through the network confirming successful delivery.

In Microsoft windows which of the following typically happens by default when I file is double clicked

Answers

Answer:

when a file is double clicked it opens so you can see the file.

Explanation:

To use cout statements you must include the __________ file in your program.

Answers

Answer:

To use cout statements, you must include the iostream file in your program.

the language is Java! please help

Answers

public class Drive {

   int miles;

   int gas;

   String carType;

   public String getGas(){

       return Integer.toBinaryString(gas);

   }

   public Drive(String driveCarType){

       carType = driveCarType;

   }

   public static void main(String [] args){

       System.out.println("Hello World!");

   }

   

}

I'm pretty new to Java myself, but I think this is what you wanted. I hope this helps!

Concept maps should contain as much information about a subject as you can remember.
T
or
F

Answers

Answer:

True Just took the test

Explanation:

Answer:

the answer is T or TRUE

Explanation:

In general, bitmap images need to be modified before being used for mobile apps.
a) True
b) False

Answers

Answer:

True

Explanation:

If you are creating something like a mobile app, you will need to find a way to strip out a lot of the excess file size to make them work

The purpose of performance profiling (experimental analysis) is to measure the program/algorithm performance. Assume that you have performed an experimental analysis of an algorithm, and profiling returned the following
times: for instances of sizes 2^10, 2^11, 2^12, 2^13, 2^14
the corresponding times are approximately 300 , 510 , 905 , 1750 , 3305 milliseconds.
In these collected running times, there is an extra overhead resulting from clocking program performance and OS functions calls, and this overhead has to be considered in analyzing data. That is, the measured time consists of two components: the time for executing the operations, plus the overhead from profiling.
The estimated overhead due to profiling is about 100 milliseconds independently of the input size. (that is, 100 is always an additive ``constant'' in the collected times).
Based on these experimental results, what is the running time, as a function of the problem size, for executing this algorithm? (c is a constant).
A. O(underroot(n)).
B. O(n^2).
C. O(n).
D. None of the listed.
E. O(n log n).

Answers

Answer:

C. O(n).

Explanation:

for better understanding, the os is a program that helps in telling how much resources can be used and when processor can be accessed.

to each programme data structures would load and unload every time that a programme is to be run.

while a programme is being managed there would be extra overheads and based on whatever type of os or programme that this is, it may or may not have fixed overhead

from our question overhead is fixed at 100ms

we have,

net time as: 300-100, 510-100, 905-100, 1750-100, 3305-100,

which is, 200, 410, 805, 1650, 3205

when we double 2¹ to 2¹¹ to 2¹² etc, the programme ran is also doubling

this says that run time is same as size of instance n

O(n)

The Beaufort Wind Scale is used to characterize the strength of winds. The scale uses integer values and goes from a force of 0, which is no wind, up to 12, which is a hurricane. The following script first generates a random force value. Then, it prints a message regarding what type of wind that force represents, using a switch statement. If random number generated is 0, then print "there is no wind", if 1 to 6 then print "this is a breeze", if 7 to 9 "this is a gale", if 10 to 11 print "this is a storm", if 12 print "this is a hurricane!". (Hint: use range or multiple values in case statements like case {1,2,3,4,5,6})

Required:
Re-write this switch statement as one nested if-else statement that accomplishes exactly the same thing. You may use else and/or elseif clauses.

ranforce = randi([0, 12]);
switch ranforce
case 0
disp('There is no wind')
case {1,2,3,4,5,6}
disp('There is a breeze')
case {7,8,9}
disp('This is a gale')
case {10,11}
disp('It is a storm')
case 12
disp('Hello, Hurricane!')
end

Answers

Answer:

The equivalent if statements is:

ranforce = randi([0, 12]);

if (ranforce == 0)

     disp('There is no wind')

else  if(ranforce>0 && ranforce <7)

     disp('There is a breeze')

else  if(ranforce>6 && ranforce <10)

     disp('This is a gale')

else  if(ranforce>9 && ranforce <12)

     disp('It is a storm')

else  if(ranforce==12)

     disp('Hello, Hurricane!')

end

Explanation:

The solution is straight forward.

All you need to do is to replace the case statements with corresponding if or else if statements as shown in the answer section

Write the three working fundamental steps of a computer.​

Answers

Answer:

just tryin' to help you

Explanation:

The three stages of computing are input, processing and output. A computer works through these stages by 'running' a program. A program is a set of step-by-step instructions which tells the computer exactly what to do with input in order to produce the required output.

Challenge activity 1.3.6:output basics.for activities with output like below,your output's whitespace(newlines or spaces) must match exactly.see this note.write code that outputs the following.end with a newline.This weekend will be nice.​

Answers

In python:

print("This weekend will be nice.")

I hope this helps!

Please help, I have no clue how to do this. It’s a question from my fundamentals of computing class

Answers

Answer:

110101 = 53

Hope this helps :)

To help us solve this problem, I've created a simple python program.

print(int("110101", 2))

The program prints 53 to the console.

If you search python ide online and paste that code into the ide and then replace the binary in between the quotes, you can find the value of any binary number you want.

What is his resolution amount

Answers

I think it’s 92 I mean yh

Complete the sentence.
____ use only apps acquired from app stores.

O tablets
O laptops
O servers
O desktops

Answers

The answer is Tablets

Answer:

Tablets

Explanation:

I say so

According to Darwin’s theory of evolution, differences between species may be a result of which of the following?
a) The disuse of body structures
b) The transmission of acquired characteristics
c) Natural selection
d) Mutagenic agents

Answers

Answer:

The answer is C Natural selection

Explanation:

Natural selection is the differential survival and reproduction of individuals due to differences in phenotype. It is a key mechanism of evolution, the change in the heritable traits characteristic of a population over generations

According to Darwin’s theory of evolution, differences between species may be a result of  Natural selection. Thus the correct option is C.

What is  Darwin’s theory of evolution?

According to Darwin, all species descended from a single ancestor, species can change through time, and new species can arise from existing ones which makes them interconnected with common traits.

Natural selection of traits in a species that would help the species in its survival is the process that drives diversification, the evolutionary process through which new biological species form.

Natural selection is the evolutionary mechanism stating that with many resources available in nature, creatures with genetically inherited features that promote survival and reproduction will typically produce more offspring than their conspecific competitors.

Therefore, option C is appropriate.

Learn more about  Darwin’s theory of evolution, here:

https://brainly.com/question/25718754

#SPJ6

Wireless technology is best described as a/an

stationary computing system.

office computing system.

mobile computing system.

inflexible computing system.

Answers

Answer:

mobile computing system

Explanation:

Answer:

mobile computing system... C

The author Darnell Littal belleves that "Beyond bad markets and economic news, the number one reason that mergers
fall is the absence of a well-understood

Answers

Answer:

human performance plan

Explanation:

(for odyssey users)

Which orientation is wider than it is tall?

Portrait
Macro
Shutter
Landscape

Answers

Answer:

Landscape

Explanation:

Landscape orientation is wider than it is tall.

Answer:

Landscape

Explanation:

-Roll 2 standard dice
-If the sum of the dice are greater than 8, print “The sum of the dice is ____”
- print “done” at the end of the code

Answers

In python:

import random

die1 = random.randint(1,6)

die2 = random.randint(1,6)

if die1 + die2 > 8:

   print(f"The sum of the dice is {die1 + die2}")

print("done")

If you need me to change anything, I will. I hope this helps!


Select the correct answers.
What are examples of real-time applications?
A.) news updates
B.) blog posts
C.) stock market values
D.) email
E.) online money transfers

Answers

Answer:

B

Explanation:

you can post blog updates in real time as things happen

Answer: Stock market values and news updates

Explanation: These are things that you can follow in real time and that happen in real time (think of something like a livestream)

PLATO/EDMENTUM

Write a program named as calcPrice.c that formats product information entered by the user and calculate the total amount of purchase.

Answers

Answer:

Here is the calcPrice.c program:

#include <stdio.h>   //to use input output functions

int main(void)  {  //start of main method

   int itemNo, month, day, year, quantity;  //declares variables to hold item number, quantity, and date

   float unitPrice; //declare variable to hold price per unit

   printf("Enter item number: ");  // prompts user to enter item number

   scanf("%d", &itemNo);  //reads item number from user and stores it in itemNo variable

   printf("Enter unit price: ");  // prompts user to enter unit price

   scanf("%f", &unitPrice);  //reads input unit price and stores it in unitPrice variable

   

    printf("Enter quantity: ");  //prompts user to enter quantity

   scanf("%d", &quantity);  //reads input quantity and stores it in quantity variable

   printf("Enter purchase date (mm/dd/yyyy): ");  //prompts user to enter purchase date

   scanf("%d/%d/%d", &month, &day, &year);  //reads input date and stores it in month, day and year variables

    float totalAmount = unitPrice * quantity;  //computes the total amount

   printf("\nItem\tUnit Price\tQTY\tPurchase Date\tTotal Amount\n");  //displays the item, unit price, qty, purchase data and total amount with tab space between each

   printf("%d\t$%5.2f\t%d\t%.2d/%.2d/%d\t$%5.2f\n", itemNo, unitPrice,quantity, month, day, year,totalAmount);   }    //displays the values of itemNo, unitPrice, quantity, month, day, year and computed totalAmount with tab space between each

Explanation:

Lets suppose user enters 583 as item number, 13.5 as unit price, 2 as quantity and 09/15/2016 as date so

itemNo = 583

unitPrice = 13.5

quantity = 2

month = 09

day = 15

year = 2016

totalAmount is computed as:

  totalAmount = unitPrice * quantity;

 totalAmount = 13.5* 2

totalAmount = 27.00

Hence the output of the entire program is:

Item    Unit Price      QTY     Purchase Date   Total Amount      

583     $  13.50           2           09/15/2016         $  27.00  

The screenshot of the program along with its output is attached.

Given the dictionary, d, find the largest key in the dictionary and associate the corresponding value with the variable val_of_max. For example, given the dictionary {5:3, 4:1, 12:2}, 2 would be associated with val_of_max. Assume d is not empty.

Answers

Answer:

Here is the Python program:

d = {5:3, 4:1, 12:2}

val_of_max = d[max(d.keys())]

print(val_of_max)

Explanation:

The program works as follows:

So we have a dictionary named d which is not empty and has the following key-value pairs:

5:3

4:1

12:2

where 5 , 4 and 12 are the keys and 3, 1 and 2 are the values

As we can see that the largest key is 12. So in order to find the largest key we use max() method which returns the largest key in the dictionary and we also use keys() which returns a view object i.e. the key of dictionary. So

max(d.keys()) as a whole gives 12

Next d[max(d.keys())]  returns the corresponding value of this largest key. The corresponding value is 2 so this entire statement gives 2.

val_of_max = d[max(d.keys())] Thus this complete statement gives 2 and assigns to the val_of_max variable.

Next print(val_of_max) displays 2 on the output screen.

The screenshot of program along with its output is attached.

twentieth century music has adopted the sounds of the modern period which include synthesizers electronics and computers​

Answers

Answer: True

Explanation:

The 20th century (1900s) saw an increase in the kind and variety of music available. This was down to many innovations in the musical industry in the 20th century such as multitrack recording that made music much more accessible and easier to produce.

With these innovations as well as the advent of the age of computers, musicians and composers were able to included synthesizers and electronics in their music as well as using computers such that new sounds enveloped the world from jazz to rock to jazz fusion.

1 megabyte is equal to 1024 gigabyte. True/False​

Answers

Answer:

false

Explanation:

1 MB = 0.001 GB

Other Questions
PLEASE HELP I WILL MARK BRAINLIEST!!!!!! any luck of help? pls say yess I'll brainlist u!!! give u 5 star just help me answer The mountain tree shrew and the king-size pitcherplant help meet each other's nutritional needs. Thisshows that theyAget their energy from sunlight.Bare both a predator and prey.have a symbiotic relationship.Dare both carnivorous creatures. PLEASE HELP! 6TH GRADE MATH please write done what number you're doing can somebody help me out with this please? (you dont have to do the thing where you show ur work on paper just show work please) A car started its motion from rest and accelerated for 7 seconds, with the acceleration of 3 m/s2. Then it was moving with a constant velocity for 8 seconds. What was the velocity of the car after 7+8 seconds?PLEASE HELP ME Help I need to pass this A baby gains 11 pounds in its first year of life. The baby gained 4 1/4 pounds during the first four months and 3 1/2 pounds in its second for months. How much did the baby gain in the last four months? A scale drawing of a building needs to be made using the scale 1 in = 230 ft. How tall will the building in the scale drawing be if the building is 1380 ft tall? which statement describes an absolute monarchy Write the equation of the line parallel to the given line and through the givenpoint. y=2x - 8 through (3.10) Please help me... make sure the answer is correct... i need to send the out asap... 9 Determine Central ldeas: How did Muslim Arabs change the cultural and religious landscape of early Africa? Alyssa is observing two cells, X and Y. Each cell is from either a plant or an animal. She records some of her observations in a chart. Cell ObservationsCell X Cell Yhas lysosomes lacks lysosomeslacks a cell wall has endoplasmic reticulumhas ribosomes has a nucleusWhich additional observation will Alyssa most likely make?Cell X has a cell membrane, and Cell Y does not.Cell Y has a cell membrane, and Cell X does not.Cell Y has a larger vacuole than Cell X.Cell X has a larger vacuole than C Identify what type of unemployment each of the individuals faces. James is an architect who has been laid off owing to a slump in the demand for property. He feels he will have to wait until the economy picks up before he can get a new job. James is facing structural unemployment. Eric is an experienced project manager who lost his job at a tech start-up because the company's product failed to become popular. He is confident he can get a new job and has already rejected a number of offers. Eric is facing cyclical unemployment. Craig lost his job several months ago. He is having a hard time finding a job that pays him more than unemployment insurance does. Audrey was given a gift card for a coffee shop. Each morning, Audrey uses the card to buy one cup of coffee. Each cup of coffee costs $2.50 and after buying 2 cups of coffee, the card had a $45 remaining balance. Write an equation for A,A, in terms of x,and x representing the amount money remaining on the card after buying x cups of coffee. Match the word or phrase to the correct section title of the outline.Geography NotesI. The Eastern HemisphereA. Africa1. Much of Africa is wildernessa) 25% of Africa is not inhabitedWhat section of the outline is represented by "a) 25% of Africa is not inhabited?"TopicDetailEvidence write a sentence using figurative language please help asap, the question isDo you see a pattern? If so, explain your reasoning. and What predictions can you make about future rectangles in the set if your pattern continues? Tina was flying to Atlanta from New York. The temperature in Atlanta when the plane landed in the morning was 72. By the afternoon the temperature had risen 21. When Tina went to sleep, the temperature had dropped 11, and the temperature remained the same until the next morning. That morning, Tina flew back to New York where the temperature was 67.What was the change in temperature from when Tina left Atlanta and arrived in New York?A5B6C14D15