Write a program that fills a list with 100 random numbers between 0 and 200, inclusive. Traverse through the list and only print out the numbers that are less than 99. You can develop this code in App Lab if you like and copy your final program to the answer area below. Keep the code neat and use curly braces where necessary. This question is worth 4 points. *

Answers

Answer 1

Answer:

Follows are the code to this question:

import random as ra#import package  

r=[ra.randint(0, 200) for x in range(100)]#defining a variable r that use rand method to add value in list  

j= [i for i in r if i < 99]#defining j variable that checks list value is less than 99

print (j)#print list value

Output:

[20, 23, 66, 47, 89, 7, 18, 13, 92, 31, 23, 60, 3, 52, 18, 20, 85, 64, 55, 98, 14, 80, 80, 14, 57, 92, 76, 14, 91, 83, 87, 80, 16, 50, 7, 88, 19, 4, 72, 23, 27, 79, 23]

Explanation:

In this code, package random is imported, in the next step, the r variable is declared, that uses the randit method, and use for loop that adds value in the list. In the next step, the j variable is declared, which uses a for loop and a conditional statement to check its value is less than 99, add print its value.


Related Questions

The window snipping tool will let you take a screenshot of any part of the screen true or false

Answers

Answer:

True

Explanation:

Answer:

true

Explanation:

it is supposed to take screenshots of your screen.

A system consumed 0.4 seconds of processor time, 0.3 seconds accessing the network, and 0.5 seconds accessing the disk drive to execute the task. Where is the bottleneck in this network

Answers

Answer:

the disk drive

Explanation:

A bottle neck in a network is the condition through which the data flows becomes limited by the network of the computer system. It occurs in the user network or within the servers where there are contention for any internal server resources.

In the context, a system that consumes 0.4 seconds for the processor time and time 0.3 seconds for accessing the network. The system also takes 0.5 seconds for accessing disk drive for executing the task. So the bottle neck in this system is the disk drive.

Which of the following elements is used to insert a blank line or return in an HTML document?
a. BRK
b. BRE
c. BREAK
d. None of these​

Answers

Answer:

b

Explanation:

corect me if wronggggggg

The element that is used to insert a blank line or return in an HTML document is <br>. The correct option is d.

What is HTML?

The preferred markup language for documents intended to be viewed in a web browser is HTML, or HyperText Markup Language.

Technologies like Cascading Style Sheets and scripting languages like JavaScript can help.

Pages that are presented on the internet are frequently created using HTML.

Each page has a specific collection of HTML tags on it, including hyperlinks that lead to other pages. Every page we see on the internet is created using some form of HTML code.

A line break in text is produced by the HTML element <br> (carriage-return).

Thus, the correct option is d as none of the options are correct.

For more details regarding HTML, visit:

https://brainly.com/question/15093505

#SPJ6

What is the difference between Beat and Rhythm?
A
Rhythm stays the same and steady and the beat changes
B
The beat stays the same and steady and the rhythm changes

C
There is no difference between the two
D
A beat is slow while a rhythm is fast

Answers

Answer:

I think it will option b may it help yu

Answer:

B

Explanation:

The beat stays the same and steady and the rhythm changes.

Who am I
1.I am the law established by the intellectual property organization
2.I am an application used to illegally harm online and offline computers users
3.I am the crime through the Internet
4. I impose restrictions on incoming and outgoing information to and from networks

Answers

1. Patent law or copyright
2. Malware
3. Cybercrime
4. Firewall

Which of these is NOT a way that technology can solve problems?
Group of answer choices

sorting quickly through data

storing data so that it is easily accessible

making value judgments

automating repetitive tasks

Answers

Answer:

making value judgements

Explanation:

honestly this is just a guess if there is any others pick that but this is just what I'm thinking

PLLZX help NEEED HELP HLPP NOWWW pleze

...What time is it

Answers

Answer:

12:10

Explanation:

i looked at the time

I said it is 12:10..........

Question # 2
Multiple Choice
The ____
is a character used to separate data items in a line.
O extension
O delimiter
O relative path
O path

Answers

Answer:

The answer is delimiter

Can someone help me plz

Answers

Answer:

O two one

O Not;And;Or

I hope its help for you

have a great day

HELP ASAP!!! Prompt
What is word processing?

Answers

Answer:

Word processing refers generally to the creation, editing, formatting, storage, and output of both printed and online or electronic documents.

Please help me for this question - Computer Science

Answers

Answer:

# F F F F 0 0

# F F 0 0 F F

# 0 0 F F F F

Explanation:

Hex values are your friend.

The first two digits represent red.

# F F 0 0 0 0 - Red

The second two digits represent green.

# 0 0 F F 0 0 - Green

The third two digits represent blue.

# 0 0 0 0 F F - Blue

If you know yellow is a combination of red and green, you express the corresponding digits.

# F F 0 0 0 0 - Red

# 0 0 F F 0 0 - Green

+

-------------------------------

# F F F F 0 0 - Yellow

Similarly,

If you know magenta is a combination of red and blue, you express the corresponding hex digits.

# F F 0 0 0 0 - Red

# 0 0 0 0 F F - Blue

+

-----------------------------

# F F 0 0 F F - Magenta

And finally,

If you know cyan is a combination of green and blue, you express the corresponding hex digits.

# 0 0 F F 0 0 - Green

# 0 0 0 0 F F - Blue

+

----------------------------

# 0 0 F F F F - Cyan

What does it mean to "express the digits"?

If you know anything about how color works on a computer, you'll know that you can express a certain amount of red, green and blue to get almost any color. These are known as "RGB" values. In RGB, the red, green or blue can individually go from 0 - 255. Think of it like a slider for how much you want of each color.

In RGB:

RGB (255, 255, 255) - White

Hex is just a really convenient and shorthand way to write the RGB color values.

In Hex:

#FFFFFF - White

Which of the following actions is most likely to be effective in reducing the digital divide at a local level? A Creating an application that offers coupons and discounts for local businesses Offering a discount to utility customers who pay their bills online instead of by mail C. Providing free community access to computers at schools, libraries, and community centers Requiring applicants for local government jobs to complete an online application​

Answers

Answer: C

Explanation:

The action that is most likely to be effective in reducing the digital divide is Providing free community access to computers at schools, libraries, and community centers.

What is digital divide in a community?

The notion of the "digital divide" is said to be a form of growing gap that is said to exist between the underprivileged people of society, such as the poor people.

Conclusively, Note that this may be due to different reasons and to reduce it, providing free community access to computers at schools, libraries, and community centers will help.

Learn more about digital divide from

https://brainly.com/question/7478471

What does the “MIN” and “MAX” functions allow you to do when inserted in a spreadsheet?

Answers

Answer:

The MIN and MAX functions are just what the names imply. MIN will find the lowest number in a range, while MAX finds the largest number in a range. One advantage to these functions is that they can be combined with the IF function.

Explanation:

As a programmer, why do you think that skills and training are needed? Give five reasons.

Answers

Answer:

1.to have good communication

2.to have problem solving capability

3.to learn concepts and apply them to problems

4.to improve your mathematical skills

5.so as to be proficient with programming languages

hope this helps

a 0.600 kg dynamics trolley has 1.5 kg load added. It is launched with a force of 10.n what is the acceleration

Answers

Answer:

acceleration = 4.76 m/s²

Explanation:

Given that"

the mass of the dynamic trolley = 0.6 kg

the mass of the load  = 1.5 kg

total mass = (0.6 + 1.5) kg = 2.1 kg

the force = 10 N

Thus;

using the formula of force which is;

Force = mass × acceleration

10 = 2.1  × acceleration

acceleration = 10/2.1

acceleration = 4.76 m/s²

Stella has captured this candid photograph of a man who was reunited with his son. She has used facial retouching in each of the images. Which images could she print along with the mans interview?

Answers

Answer: The last picture it looks better.

Explanation: Welcome!

Answer:

4

Explanation:

In Scratch, you have to choose backdrops from a limited number in the Scratch image library.
Group of answer choices

True

False

Answers

I would say it would be True

Answer:

True

Explanation: im Awsome

What does the image depict:
a. a distributed database
b. a parallel database
c. an extranet
d. an intranet

Answers

Answer:

b

Explanation:

i guess

Answer:

b. A parrallel database

Explanation:

What does the program print out as a result of the given snippet of code?

supplies = ["pencil", "notebook", "backpack", "calculator", "pen"]
print(len(supplies))
5
8
[‘backpack’, ‘calculator’, ‘notebook’, ‘pen’, ‘pencil’]
[‘pencil’, ‘notebook’, ‘backpack’, ‘calculator’, ‘pen’]

Answers

Answer:

5

Explanation:

well the function len gives the length of the list

so the length of supplies is

5

Answer:

a

Explanation:

edge

JAVA
plzz help...............​

Answers

Answer:

import java.util.Scanner;

import java.util.Arrays;

public class Main {

 public static void main(String[] args) {

   Scanner scan = new Scanner(System.in);

   int numbers[] = new int[3];

   System.out.print("Enter first number: ");

   numbers[0] = scan.nextInt();

   System.out.print("Enter second number: ");

   numbers[1] = scan.nextInt();

   System.out.print("Enter third number: ");

   numbers[2] = scan.nextInt();

   scan.close();

   Arrays.sort(numbers);

   if (numbers[0] == numbers[2]) {

     System.out.println("All the numbers are equal");

   } else {

     System.out.printf("Greatest number: %d\n", numbers[2]);

   }

 }

}

how do we add questions on sam Blockly?​

Answers

Answer:

I do not know that answer

What function does an extranet perform?

Answers

Answer:

An extranet is a private network that uses Internet technology and the public telecommunication system to securely share part of a business's information or operations with suppliers, vendors, partners, customers, or other businesses.

Which of the following represent features of free software licensing? Check all of the boxes that apply.
is concerned with defending users' freedom of use
is always free of cost
makes source code available for editing
allows users to redistribute modified software as proprietary
is an idea that was developed by the Open Source Initiative (OSI)

Answers

Answer: A :is concerned with defending users’ freedom of use

C:makes source code available for editing

Explanation:

Answer:

a and c

Explanation:

Yuri, a medical assistant, has been asked to send an account of a patient's last office visit to another doctor's office. The technology that she will most likely use is _____.

the Internet
a cell phone
HDTV
a facsimile

Answers

The technology that Yuri will most likely use to send the information is: D. a facsimile.

What is a technology?

Technology can be defined as a branch of knowledge or field of science which typically involves the process of creating, applying, and managing scientific knowledge and ideas, so as to effectively and efficiently proffer solutions to various problems and improve human life.

In this scenario, the technology that Yuri will most likely use to send an account of a patient's last office visit to another doctor's office is a facsimile because it creates an exact copy.

Read more on technology here: brainly.com/question/25885448

Answer:

its D facsimile machine :)

Explanation:

the tag that describes the content of the web page is ________________

Answers

Answer:

<body>

Explanation:

the content of the web page must be body.

plz help me
write an algorithm and draw a flowchart to find the area and volume of a cube​

Answers

Answer:

Can't draw a flow chart here, but here are the steps you need:

1) Prompt for side length of cube

2) If the entry is non-numeric, give error and go to step 1

3) If the entry is less than zero, give error and go to step 1

4) output "Volume is " + (entry * entry * entry)

5) output "Surface area is " + (6 * entry * entry)

6) Prompt for calculating another cube

7) If the reply is "y", go to step 1

8) end

Can someone help me plz

Answers

B = x is equal to 5
and
C = “ have special meaning and should not be used when naming variables “.

The _____ contains lists of commands used to create presentations.
Outline view
Menu bar
Slide pane
Title bar

Answers

Answer:

The menu bar is correct

Explanation:

EDG2021

Group of answer choices When declaring a variable, you also specify the type of its values. Variables cannot be assigned and declared in the same statement. Variable names can be no more than 8 characters long. Variable names must contain at least one dollar sign.

Answers

Complete Question:

Which of the following statement is true?

Group of answer choices.

A. When declaring a variable, you also specify the type of its values.

B. Variables cannot be assigned and declared in the same statement.

C. Variable names can be no more than 8 characters long.

D. Variable names must contain at least one dollar sign.

Answer:

A. When declaring a variable, you also specify the type of its values.

Explanation:

In Computer programming, a variable can be defined as a placeholder or container for holding a piece of information that can be modified or edited.

Basically, variable stores information which is passed from the location of the method call directly to the method that is called by the program.

For example, they can serve as a model for a function; when used as an input, such as for passing a value to a function and when used as an output, such as for retrieving a value from the same function. Therefore, when you create variables in a function, you can can set the values for their parameters.

For instance, to pass a class to a family of classes use the code;

\\parameter Name as Type (Keywords) = value;

\\procedure XorSwap (var a,b :integer) = "myvalue";

Hence, the true and correct statement is that when declaring a variable, you also specify the type of its values such as integers, string, etc.

From your fist impression, write down what first comes to mind as to what is good and bad about the way the device works.

Answers

Answer:

xczczxczx

Explanation:

Other Questions
Identify the correct property of equality to solve each equation.x6 = 5 Pleaseee help on this How many moles of oxygen are required to produce 12 moles of water? IS IT A OR B OR C OR D Why solar panels are usually painted black 1 3/4 x 1 1/3 give your answer as a mixed number If a factory can produce 800 newspaper in 15 minutes how many newspapers will it produce in 2 hours If you like Miraculous Ladybug: Tales of Ladybug and Cat Noir...comment down below your..1. fav character-2. fav lil animal-3. fav hero-4. fav transformation-5. fav episode- tell me something i don't know Which choice is an example of plagiarism? A. Robert gathers information for a science paper and uses a combination of direct quotes and paraphrasing. In his paper and Works Cited list, he cites all references used in his writing. B. Kevin creates a presentation for his health class and decides to paraphrase information from the sources. He changes the wording from the sources to his own wording, then cites his references in the text and his Works Cited page. C. Becky researches a topic for her music class and finds the same information in many different sources. She decides to use only one source with that information. She cites that source in the text and her Works Cited page. D. Jane writes an essay for history class and correctly cites her sources and creates a Works Cited list. She uses all of the sources in her writing so that almost all of her essay is cited material. Which two terms represent types of chemical formulas?1fission and fusion2.oxidation and reduction3empirical and structural4.endothermic and exothermic question about something in the comments plssssss oly answer if u know what ure talking abouttttt what is the mass of of 3.20 X 10^23 particles of Co2? A parcel of real estate has been left to a woman through her husband's will for her use and enjoyment during her lifetime, with the provision that the property goes to her stepson upon her death. The stepson's interest is that of WILL GIVE BRAINLIEST Select the correct answer.Why are the boys surprised by their mother's behavior?A.They are surprised to see her defend their father.B.They are surprised she convinced their father to let them go to the show.C.They are surprised that she is worried about the money they spend.D.They are surprised to see her separated from their father. Why are Lions and Leopards considered different species? Question options:because they don't like each other because lions are larger than leopards because they can not interbreed to produce viable offspring because one has spots and the other doesn't Sharks and dolphins share similar shapes and body structures because they are very similar genetically. Question options: True False the weight of an object on the earths surface is 300N. when it is lifted to 3 times the height, its weight will become someone please help me ASAP!! (domain and range) Which point on the number line below represents a value of 0.75? whats 5*5 i need help fast