How many times is the coin tossed?

var heads = 0;
var tails = 0;
var rolls = 100;
for(var i = 0; i < rolls; i++){
if(randomNumber(0,1) == 0){
heads++
} else {
tails++
}
}

Answers

Answer 1

Answer:

100 times.

Explanation:

The code will loop until i is equal to or greater than roles. I starts at zero and increases by one after each toss.

Answer 2
The answer is what the other guy said

Related Questions

__ allow(s) users with mobility issues to control the computer with their voice.

Speech input software

Tracking devices

Head pointers

Text-to-speech

Answers

Answer:

Speech input device

Explanation:

I think this is the answer

Answer: speech input software

Explanation: got it right on edgen

explain how the organ systems work together to warm up the body on a cold day

Answers

Answer:

Your body is to cold ,blood vessels in the skin contract , and blood flow to the extremities (arms and legs)slows . muscles contract and relax rapidly which generates  heat to keep you warm..

Explanation:

Hope this helps :)

Answer:

Sample Response: The brain, through the nervous system, sends signals to the muscular system, causing the muscles to move rapidly. This rapid motion produces heat in the body and is observed as shivering. The brain also sends signals to the muscles right beneath the skin. These muscles shorten and tighten, causing the hairs on the skin to stand up. When the hairs stand up, heat is kept in the air trapped within the hairs, which keeps the body warm.

Explanation:

Select all the correct answers.
In which TWO ways does e-governance empower citizens?

Citizens can obtain information directly from government websites.
Citizen can easily fix appointments with senators online.
Citizens do not need to travel to government offices.
Citizens can vote online on the bills introduced in the legislature.


i will have more questions under ur answers

Answers

Answer:

Citizens can obtain information directly from government websites.

Citizens do not need to travel to government offices.

Explanation:

These seem the most appropriate to me.

Which Python expression results in 49?

7 * 2

7^2

7 // 2

7 ** 2

Answers

Answer:

7^2

Explanation:

7^2 is the same as 7*7

Answer:

7^2 ( ^ ) this sign help us

Animal wisdom/ the last wolf .compare and contrast the overall feeling of each poem

Answers

List the poem please. I won’t be able to answer without it.

A friend a just opened his own barber shop and has asked you to develop a program to track the type of service the customer is receiving and the cost for the service and also include any tips the customer may give to the barber. The name of your friend's barber shop is Big Al's and on each customer receipt he wants to display the name of his shop, customer name, the type of service, cost of the service, and the amount of the tip for a total price of the service rendered. Name your variables Declare your variables

Answers

Answer:

class Barber(object):

   barber_shop = "Big AI's barber shop"

   def __init__(self, customer_name, type_of_service=[], tip=0):

       self.cust_name = customer_name

       self.tos = type_of_service

       self.tip = tip

   def service_type(self, *args):

       for i in args:

           self.tos.append(i)

   def total(self):

       

       services = {'trimming':10, 'hair_cut':20, 'shaving':15, 'washing':5, 'dyeing':5}

       contain = ''

       total = 0

       for service in self.tos:

           if service in services.keys():

               total += services[service]

               contain += f'{service}: {services[service]}\n'

       

       print(self.barber_shop,'\n', self.cust_name,'\n', 'Services:',contain.splitlines(),'\n', \

           f'total: ${total}', '\n',f'Tip: ${self.tip}')

mycust = Barber('John',['washing'],6 )

mycust.service_type('shaving', 'dyeing')

mycust.total()

Explanation:

The Barber class is a blueprint used to create an object instance of customers that visits the barber-shop. It has two methods 'service_type' and 'total' which are just defined functions of the class that appends services to the type of service variable and total that prints the total cost of services on the screen.

What is the quickest way to remove all filters that have been applied to a worksheet?

Click each filter and select Clear Filter.
Click the Filter button in the Sort & Filter group.
Select the worksheet and click Clear Filter.
Select the worksheet and click Delete All Filters.

Answers

Answer:

Select the worksheet and click Delete All Filters.

Explanation:

Answer:

Click the Filter button in the Sort & Filter group

Explanation:

I am not sure if you don't believe my answer go with your gut.

Click "Thanks" if this helped! :)

An employee was watching Jessica, an IT employee, typing in many different confusing terms. Jessica explained that she needed to fix the code and test a couple of programs before she could train the employee on how to use the software. Which IT career would be responsible for these tasks?

Answers

Answer:

Programming and Software Development

Explanation:

Answer:

b on edge

Explanation:

Given the formula on the left, label the parts. SUM . A2:D19 . E55 . (A2:A19,C13,E55,19) .

Answers

Answer:

SUM  

✔ function name

.

A2:D19  

✔ range

.

E55  

✔ value

.

(A2:A19,C13,E55,19)  

✔ argument

Answer:

1. B

2. A

3. A

4. C

Explanation:

On edge2020 I got it right

What is the
binary code
for
"DMS"?

Answers

Answer:

D= 01000100

M= 01101101

S= 01110011

Explanation:

Write a program to enter a number and test if it is greater than 45.6. If the number entered is greater than 45.6, the program needs to output the phrase Greater than 45.6.

Answers

Here is the solution. Let me know if you have any question

Myra just got the latest computer game and wants to play it on her desktop. When she plays the game, she notices that it is sluggish and the animations are not very clear. What can she do to improve her gaming experience?

Answers

Answer:

Ram/cpu/gpu... Many many things she can do

Explanation:

It may be a issue of internet bandwith, if this new game requires a insane ammount of internet then it may run low FPS (frames per second) and make myra's game look slughish,but anouther issue may be the ram or cpu, like if this is a new game and you've always played like simple games, so your running on persay a core i3 or i4, it aint gonna cut it on a newer game, you gonna need a probably core i5 or i7, or be like any sane person and switch to amd, it may be a bit pricy but if you want nice clean gaming, then amd is the way to go

Also while you are at it get a ssd

I hope this helps "-"

Answer:

She can upgrade her hardware/software

Explanation:

For hardware, she can troubleshoot any broken components that are possibly in the computer, upgrade cards/fans, etc.

and for software she can upgrade her operating system, upgrade or download any missing frameworks, clear out any software that is taking too much CPU/RAM in the background using task manager/system viewer/KSysGuard, etc.

Write a for loop in python that prints 10 random numbers between 1 and 100 inclusive.

Answers

import random

for x in range(10):

   print(random.randint(1,100))

what is the meaning of .com in computer​

Answers

Answer:

The answer to this question is given below in the explanation section.

Explanation:

The terms ".com" is the most common term that you see at the end of the domain name. This term is most widely used in computers and in websites. The dot com ".com" is a suffix and most common suffix in website addresses.

Furthermore, the term ".com" is short for a commercial for many educational, personal, profit, and non-profit websites. The reason behind using .com as a suffix in a website name is that it is most common and recognizable.

You can buy a website domain with dot com ".com" suffix from many website hosting companies. The companies that using dot com in their website name they are mostly doing business on the internet.

what is the computer?​

Answers

Answer:

an electronic machine that can store, find and

Which list method allows elements in a sequence to be removed and added at either end of the structure?
a) index
b) queue
c) stack
d) deque
PLEASE HURRY

Answers

Answer:

b) queue

Explanation:

Queue is also an abstract data type or a linear data structure, just like stack data structure, in which the first element is inserted from one end called the REAR(also called tail), and the removal of existing element takes place from the other end called as FRONT(also called head).

Answer:

B is right!

Explanation:

PLEASE HELP ASAP 100 POINTS 2 MORE MINUTES!!!!! :/
Use the (blank) to add a new slide to your presentation.
Slide plane
Standard toolbar
Insert menu
Slide view

Answers

Answer:

Insert Menu

Explanation:

This is what the passage that I read for school said:

In most programs, you can add a new slide from the Insert menu.

(true or false) One of the difficult things about working in game design is that while there are many different roles, most of them only match one specific personality type.
True
False

Answers

Tbh I think it’s False because most of them don’t match
I thinks it’s false cause most don’t match

Find true or false. A hacker is hacking software with access in sensitive information from your computer​

Answers

ITS TRUE!!I SEARCHED IT

(Java) Write a program that accepts a number of minutes and converts it both to hours and days. For example, 6000 minutes is 100.0 hours or 4.166666666666667 days.​

Answers

import java.util.Scanner;
public class MinutesConversion {
private static Scanner inputDevice;
public static void main(String[] args) {
int minutes, hours;
float days; // float for decimal point

inputDevice = new Scanner(System.in);
System.out.println("Please enter minutes for conversion >> ");
minutes = inputDevice.nextInt();
hours = minutes / 60;
days = hours / 24.0f;


System.out.println(+ minutes + " minutes is " + hours + " hour(s) or" + days " days");
}
}

The program is a sequential program, and it does not require any conditional statement or iteration.

The program in Java, where comments are used to explain each line is as follows:

import java.util.*;

public class Main{

public static void main(String[] args) {

 //This declares minutes as a double data type

 double mins;

 //This creates a Scanner object

 Scanner input = new Scanner(System.in);

 //This gets input for minutes

 mins = input.nextDouble();

 //This converts the minutes to hour and days, and also print them

 System.out.println(mins/60+" hours or "+mins/1440+" days");

}

}

At the end of the program, the equivalent number of hours and number of days are printed.

Read more about similar programs at:

https://brainly.com/question/8598360

Taylor needs to remove the text to the left of his cursor. Which of the following keys should he press?

Answers

Answer:

bacspace not delete

Explanation:

delete erases on the right not left

Backspace he should press to remove the text to the left of his cursor.

What is cursor?

A cursor is an indicator used in computer user interfaces to show the current position for user interaction on a computer monitor or other display device that responds to input from a text input or pointing device. Because of its usage resemblance to a pointing stick, the mouse cursor is also known as a pointer. Cursor is a Latin word that means "runner." The transparent slide engraved with a hairline that is used to mark a point on a slide rule is known as a cursor. By example, the word was later transferred to computers. On November 14, 1963, while attending a computer graphics conference in Reno, Nevada, Douglas Engelbart of the Augmentation Research Center (ARC) expressed his desire to pursue his goal of developing both software and hardware computer technology to "augment" human intelligence by pondering how and where to adapt the underlying principles of the planimeter to inputting X- and Y-coordinate data.

To learn more about cursor
https://brainly.com/question/12406758

#SPJ2

Choose the proper term to describe each of the following examples.
senate.gov:____
23.67.220.123:_____

SMTP acc name
Domain name
IP address

Answers

Answer:

senate.gov: Domain Name

23.67.220.123: IP Address

Explanation:

We need to choose the proper term to describe:

a) senate.gov

It is called Domain Name

The domain name is a component of a URL (uniform resource locator ) used to access web sites

b) 23.67.220.123

It is called IP address.

IP address is defined as unique string of characters that is used to uniquely identify each computer in the network.

Write a function named last_digit that returns the last digit of an integer. For example, last_digit(3572) should return 2. It should work for negative numbers as well; last_digit(-947) should return 7.

Answers

def last_digit(num):

   num = str(num)

   return int(num[-1])

print(last_digit(-947))

I hope this helps!

Sonora wants to extend the cells to be added in her formula. What is the quickest way to add more cells?
O Go to the Function Library group and click Insert Function.
Click the Insert tab in the ribbon and then Equation.
O Type the ranges in the parentheses in the formula bar.
O Left-click on a cell that is included and drag the cursor.

Answers

Answer:

D

Explanation: took the test on edge

Answer:

Left-click on a cell that is included and drag the cursor.

Explanation:

[Exceptions, Function calling another function] Write a function ticker() that first runs (calls) read_ticker() and then stores the returned dictionary. It then runs an interactive loop with the user in which the user is prompted for a company name. If the company name (key) is in the dictionary, then its ticker form and the IPO year is printed. Otherwise a warning is printed that the company name is not in the list. If the user just hits return without entering a name, the loop stops.




this is the function that needs to be called:
def read_ticker():
d = {'1347 Capital Corp.': ('TFSCW', '2014'), '1347 Property Insurance Holdings, Inc.': ('PIH', '2014'), '1-800 FLOWERS.COM, Inc.': ('FLWS', '1999')}
return d

Answers

def read_ticker():

   d = {'1347 Capital Corp.': ('TFSCW', '2014'), '1347 Property Insurance Holdings, Inc.': ('PIH', '2014'),

        '1-800 FLOWERS.COM, Inc.': ('FLWS', '1999')}

   return d

def ticker():

   di = read_ticker()

   while True:

       try:

           name = input("Enter the name of a company: ")

           if name == "":

               return

           print(di[name])

       except KeyError:

           print("Name not found! Please enter a valid name!")

ticker()

I hope this helps!

What will be displayed in the console when the following program runs?

var count = 0
while (count != 5){
console.log(count);
count = count + 2;
}

Answers

Answer:

The integer, count, will be stuck in a infinite while loop, and the console will keep adding 2 to count, so it'll look something like this.

0

2

4

6

8

10

12

14

and so forth...

Explanation:

The while loop will never stop because count can not equal to 5 because you can't add 2 to another multiple of 2 to get 5.

Because count cannot reach 5, and you cannot add 2 to another multiple of 2, the while loop will never come to an end.

What displayed in the console when program runs?

An endless loop is a section of code that never reaches the ending condition, hence it keeps running indefinitely. An infinite loop may cause your software or browser to crash or freeze. Infinite loops must be understood in order to avoid such situations.

When a condition always evaluates to true, an infinite loop happens. Typically, this is a mistake. You may, for instance, have a loop that decreases until it hits zero.

Therefore, It will resemble this because the integer count will be locked in an unending while loop and the console will keep adding 2 to count. 0, 2,4, 6, 8, 10,12, 14 The program will end in an infinite loop.

Learn more about program runs here:

https://brainly.com/question/19339163

#SPJ2

The shooting(blank) should describe a daily plan of the shoot and should include everything from the crew to wrap-up.

Answers

Answer:

schedule

Explanation:

Indeed, in almost every video production a shooting schedule is used to describe the daily plan of the shoot; such as what scenes to shoot first, and next.

It also gives details about the crew, as well as the timeline for the entire film production, and so on.

Shira’s Shoes sold 875,000 pairs of sandals in June, which was 70% of the total number of shoes sold. How many shoes did the company sell in June? Analyze Emily’s calculations. What error did she make?

Answers

Explanation:

Emily solved for a part when she should have solved for the whole. 875,000 should be the numerator of the equivalent ratio. 70 x 12,500 is 875,000. So the answer is 100 x 12,500 which is 1,250,000.

Answer:

Emily solved for a part when she should have solved for the whole. 875,000 should be the numerator of the equivalent ratio. 70 x 12,500 is 875,000. So the answer is 100 x 12,500 which is 1,250,000.

How do you code a website?

Answers

Answer:

Learn the basics of HTML.

Understand HTML document structure.

Get to know CSS selectors.

Put a CSS stylesheet together.

Get Bootstrap.

Pick a design.

Customize your website with HTML and CSS.

Add content and images.

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:

A well built netwrk

Explanation:

Other Questions
Why are first jobs important?? what is the full form of SDRAM Explique el proceso de "aculturacin" impuesto a los pueblos autctonos con especial referencia al papel de la religin en los procesos educativos en la educacin costarricense Read the excerpt from Chapter 28 of Moby-D l c k. Nor a word he spoke; nor did his officers say aught to him; though by all their minutest gestures and expressions, they plainly showed the uneasy, if not painful, the consciousness of being under a troubled master-eye. Which best describes the theme Melville develops in this excerpt? the effectiveness of a leader who sets himself apart from others the importance of obeying a leader under all circumstances the inherent danger of a leader who exhibits signs of madness the problems associated with inexperienced leaders A cab company charges $3.10 flat rate in addition to $0.85 per mile. Rex has no more than $15 to spend on a ride. Write an inequality that represents Rex's situation. How many miles can Rex travel without exceeding his limit? Round off your answer to nearest tenth. Justin and his children went into a grocery store and he bought $18 worth of bananas and mangos. Each banana costs $0.60 and each mango costs $1.50. He bought 2 more bananas than mangos. Graphically solve a system of equations to determine the number of bananas, x, and the number of mangos, y, that Justin bought.Write an answer in y=mx+b form, please.Two equations. What is the image point of (-3,3) after the transformation R180 0 T-3, -4? When William asks her to speak, Jocelyn replies But sir, my sex are marred by their silence when William asks her to speak. Also, when Kate is asking about Williams armor, she says Do they say I cant do it because Im a woman? What does this show you about the role of women in the Middle Ages? In paragraph 21, what does her father's advice to "pick up your feet" MOST LIKELY mean to Gatewood? O A. to learn new skills O B. to assess problems thoughtfully O C. to persevere despite difficulties O D. to go from place to place frequently Chocolate: The New Health Food Now you can stop feeling guilty about that bite of chocolate you had for dessert. Chocolate has been found to be a cause of weight gain. But scientists have discovered that it does have some health benefits. However, dont reach for that chocolate cake just yet. Researchers found that only people who ate about one ounce of dark chocolate per day received the health benefit. Dark chocolate is full of flavonoids, which help prevent diseases. Flavonoids have been found to decrease cholesterol and reduce blood clots that can cause strokes. Flavonoids also boost a natural chemical in your brain called serotonin. Low serotonin can cause depression. Thats probably why eating chocolate boosts mood and feelings of well-being. Chocolate: A Bittersweet Pill Many new studies have found that chocolate has some unexpected health benefits. But before we start calling chocolate the new wonder food, lets look at the facts. These so-called health benefits dont beat the risks of eating too much chocolate. Chocolate is rich in fats and sugar. Eating too much of it can lead to weight gain. Other studies have shown that eating chocolate can trigger painful headaches in some people. In addition, chocolate can increase the risk of developing painful kidney stones in some people. Plus, only dark chocolate has health benefits, not milk chocolate. White chocolate also has no health benefits. 3 Select the correct answers. Which two points do the two passages agree on? Chocolate can boost feelings of well-being and lower depression. Dark chocolate has some health benefits. Eating chocolate in large amounts is good for health. Chocolate can cause weight gain. Eating chocolate can cause headaches in some people. Which organization was dedicated to doing humanitarian and charitable work for the African American community? (1 ALWAYS use significant figure rules. Remember that these rules apply to all numbers that are measurements.In working this problem, assume the value of "g" to be 9.8 m/s2 with two (2) significant digits unless otherwise stated.A machine exerts a 100 N force to the right over a 5.00 meter length in 4.00 seconds. Calculate the power output of this machine._____ W500.12580.00.200 What is the author using the example of the Marlboro Man to illustrate the dangers of smoking? do you think its likely that there are other earth-like planets in our universe? Can someone tell me why cell specialization is important for life on earth. Please Give some examples of why it is important as well. Your friend and her parents are visiting colleges. They leave their home in Enid, Oklahoma, and drive to Tulsa, which is 107 mi east and 18 mi south of Enid. From Tulsa, they go to Norman, 83 mi west and 63 mi south of Tulsa. Where is Norman in relation to Enid? How was human history changed by Columbus stepping on soil in the Americas? Which of the following BEST describes Peter the Great's approach toward westernization? A company that makes hair-care products had 7,000 people try a new shampoo. Of the 7,000 people, 56 had amild allergic reaction. What percent of the people had a mild allergic reaction? what do you conclude from the bar graph