4.3 Code Practice: Question 1
Grandma Ester normally gives you hugs for your birthday - one for every year old you are. When you turned 15, she squished you with 15 hugs! This year, she, unfortunately, cannot see you on your birthday, so instead, she wants to send you virtual hugs!

Create a program that prompts the user for how old they are turning and then using a loop, output a virtual hug for every year old they are.

The following prints a single “virtual hug.”

print("**HUG**")

Answers

Answer 1

In python:

age = int(input("How old are you? "))

i = 0

while i < age:

   print("**HUG**")

   i += 1

I hope this helps!


Related Questions

why is what you say in business as important as how you say it

Answers

Answer:

Because the things you say and how you say it can determine whether or not you sell an item, make a deal with another company and things of that nature.  Hope this helps!!

Because you have to be taken serious in business so that’s how it’s different

Which of the following occupations is the most likely to require working
weekends and night shifts?
A.software developer
B.computer programmer
C.web designers
D.computer support specialist

Answers

Answer:

D

Explanation:

Assignment 3: Chatbox python coding
I just need something real simple that follows the criteria in simple coding

Answers

In python:

import random

good_responses = (["That's cool!", "Wow!", "That's great to hear!", "Tell me more"])

bad_responses = (["I'm sorry", "That sucks!"])

first_name = input("What's your first name? ")

last_name = input("What's your last name? ")

print(f"Hello {first_name} {last_name}, nice to meet you!")

age = int(input(f"How old are you, {first_name}? "))

if age > 17:

   print("Wow, you're old enough to vote!")

else:

   print("Quite young, aren't you.")

   

color = input("What's your favorite color? ")

print(good_responses[random.randint(0, 3)])

feeling = input("How are you feeling? (sad/happy) ")

if feeling == 'sad':

   print(bad_responses[random.randint(0, 1)])

else:

   print(good_responses[random.randint(0, 3)])

print(f"It's been nice chatting with you, {first_name}!")

I hope this helps!

which part of project management involves determining possible risks ​

Answers

Answer:

A Gantt chart is primarily used for project management. Project managers use it frequently for effective project handling. A Gantt Chart enables the following: Easier task scheduling.The triple constraint theory, also called the Iron Triangle in project management, defines the three elements (and their variations) as follows:

Scope, time, budget.

Scope, schedule, cost.

Good, fast, cheap.

A proven methodical life cycle is necessary to repeatedly implement and manage projects successfully.

What is a server OS used for?

O Handling requests and supplying responses

O Performing one task, such as in an STM machine

O Running a permanent system, like the timing controls in a washing machine

O Running multiple operating systems on a computer system.​

Answers

Answer:

Handling requests and supplying responses

Server Operating Systems are used to run on servers that operate within a client to handle the requests of the client computers on the network

1.5 code practice: question 4 edhesive

Answers

print(" \"Computer Science is no more about computers ")
print(" than astronomy is about telescopes\" ")
print ("- Edsger W. Dijkstra")

Pepsi or Coke B)
Or other

Answers

Answer:

Out of Pepsi or Coke, I gotta go with Coke, but in general any soda I would choose Orange Fanta.

Answer:

I prefer cream soda dr. pepper. But out of Pepsi and Coke, I'd choose Coke but I don't really like either.

Explanation:

A program is written to compute the sum of the integers from 1 to 10. The programmer, well trained in reusability and maintainability, writes the program so that it computes the sum of the numbers from k to n. However, a team of security specialists scrutinizes the code. The team certifies that this program properly sets k to 1 and n to 10; therefore, the program is certified as being properly restricted in that it always operates on precisely the range 1 to 10. List different ways that this program can be sabotaged so that during execution it computes a different sum, for example, 3 to 20.

Answers

Answer:

See explanation section

Explanation:

See the program at the end of this solution

The program can be sabotaged if the source file is altered before running the program.

Take for instance,

Someone changes

for(int i =k;i<=n;i++)

to

for(int i =3;i<=20;i++)

This implies that no matter the user input, the program will only calculate the sum of 3 to 20

It is also possible that the program is altered by an external process.

Take for instance;

n = 10

k = 1

And the sum has been calculated for the range of k = 1 to 5.

Then the program is altered by an external process.

15 (sum of 1 to 5) will be displayed instead of 55 (sum of 1 to 10)

Program written in C++

#include<iostream>

using namespace std;

int main() {

int k.n,total=0;

cin>>k;

cin>>n;

//Assume k will always be less than n

for(int i =k;i<=n;i++) {

total+=i;

}

System.out.print(total);

return 0;

}

Joanna is a qualified network specialist and has worked in this role for about six years. Her manager recommends that she enhance her qualifications for career advancement in the same role. What additional certifications can Joanna aim for? SAS Certified Base

Answers

Answer:

Cisco's CCENT

Cisco's CCNA

Explanation:

Since in the question it is mentioned that Joanna who is a  qualified network specialist and has worked for six years also her manager suggest her to enhance her qualification so that the career could be better due to which she can gets the better package and opportunity as compared to before

Therefore the additional certification that needed is CCENT and CCNA and the same is to be considered. These are the networking certifications.

Write a program that will simulate rolling two dice ( numbers 1 - 6 )
Ask the user how many rolls they want, then using a loop simulate that many dice rolls. Count the number of times the dice land on double 6's and print that total count at the end of the loop.

Answers

import random

rolls = int(input("How many times do you want to roll the dice? "))

i = 0

total_count = 0

while i < rolls:

   die1 = random.randint(1,6)

   die2 = random.randint(1,6)

   if die1 == 6 and die2 == 6:

       total_count += 1

   i += 1

print("The dice landed on double 6's {} time(s)".format(total_count))

I hope this helps!

Which of the following is a type of multimedia?(1 point)

a magazine article about ways to stay active

the handwritten notes from a lecture

a podcast included as part of an online news column

the textbook edition of a Shakespearean play

Answers

C. A podcast included as part of an online news column is a type of multimedia.

Answer: C

a podcast included as part of an online news column

the answers might be in a different order on ur side, but the answer will stil be the same. A podcast included as part of an online news column

I hope this helps : )

1. Why would a designer use thumbnail images?
O a large number of images are needed
O to link to the original full-quality image
O to cut down on loading times
O all of the above

Answers

Answer:

The answer to this question is given below in the explanation section. The correct answer is All of the above.

Explanation:

First, we need to know what is thumbnail images.

The definition of the thumbnail is "A thumbnail is an image with a reduced file size that is used as a placeholder for full-sized multimedia content."

So the answer to this question is all of the above options mentioned in the question.

Designers uses thumbnail images because:

A large number of images are needed:

For websites and applications, the designer uses a large number of thumbnail in their application. Because websites require fast loading the pages and images so in e-commerce websites a large number of thumbnails images are used.

To link to the original full-quality image:

Thumbnail is the compressed view of original images that are used in a placeholder on a website.

To cut down on loading time:

The biggest advantage of thumbnail images is their reduced size to the original image. A website will have a significantly faster loading time if its images and videos initially displayed in a thumbnail.

While the user will decide for themselves which thumbnail content they want to see and click on it to load the original thumbnail content.

Can anyone help me I’m giving 11 points

Answers

#1 pairs with D.

#2 pairs with A.

#3 pairs with B.

#4 pairs with C.

I hope this helps!

One pairs of D would be the analysis

Which of the following skills is NOT needed for critical thinking? O Evaluation Question # 1 Question # 2 Question #3 Question #4 Question #5 O Open-mindedness O Curiosity O Speaking​

Answers

Answer:

Speaking

Explanation:

That’s the one I put, and I got it right

Read the following scenario:
Two graphic design artists are leaving a major production studio to start a small production company. The artists are in the process of hiring team members when the artists disagree on two potential candidates for one position. Neither artist is willing to compromise, and the hiring process comes to a standstill. Meanwhile, a feature film company has expressed interest in hiring the new production company to work on an upcoming film.
How would this problem most likely be solved?
a. The partners would meet and reevaluate their staff needs, potentially making room for both candidates.
b. The partners would split up and open competing production companies.
c. The partners would defer the hiring of the position to the film producer.
d. The partners would dissolve their business and move into freelancing.
Please answer now !!!

Answers

Answer:

A

Explanation:

None of the other answers suit a professional business and situation.

Give two reasons why cloud computing could be harmful to an organization?​

Answers

Answer:

Someone else is looking after your data.

Cyberattacks.

Insider threats.

Government intrusion.

Legal liability.

Lack of standardization.

Lack of support.

There's always a risk

Explanation:

Big brain explanation:

A major risk to business continuity in the cloud computing environment is the loss of internet connectivity. Always ask your cloud provider what controls are in place to ensure internet connectivity. If a vulnerability is identified, you may have to terminate all access to the cloud provider until it is rectified.

Other reasons:

~ No longer in control. When moving services to the cloud, you are handing over your data and information.

~ Doesn't mean you should do away with servers.

~ No Redundancy.

~ Bandwidth issues.

Also, may I have Brainliest? :)

1.)Name at least five things that are easier to do with fast internet access.

2.)If you had online homework, but did not have a computer, how would you go about completing this homework?

3.)If you needed a job and wanted to find places that were hiring, how could you do that without fast internet access?

4.)What do you think could be done to close the digital divide gap?

Can anyone help me please hurry

Answers

Answer:

#1)  use streaming applications

Use on-demand applications

work from home

take an online course for personal or career-growth

Everyone in your family can be online at the same time

#2) Go to the library and use one of theirs or go to a friends house that does have access

#3) Either look in the classified ads of the newspaper or go to someplace that has fast internet like mcdonalds

#4) Make internet more affordable with better availability

Explanation:

The things that are easier to do with fast internet access include:

Using on-demand applications.Downloading movies.Streaming videos and songs.Watching a video online.Browsing on a computer system.

If I have online homework, but there's no computer, in order to complete this homework, I'll go to the library or cafe.

If I needed a job and wanted to find places that were hiring, since there's no fast internet access, I'll look for advertisements in newspapers or magazines. I can also go to areas that have free and fast connections.

In order to close the digital divide gap, people should be taught about the importance of computer systems and the internet should be more affordable to people.

Read related link on:

https://brainly.com/question/9914557

I WILLMARK BRAINLIEST PLZ ANSWER.

Answers

Answer:

I THINK  its D I THINK

Explanation:

The correct answer is syntax error.

In programming, a syntax error occurs when you forget things such as curly braces, semi-colons, colons, etc.

HELP ME!!!

Complete the sentence. (2 words) _____ _____ Each packet is addressed to the recipient's .

Answers

Answer:

I'd like to say home address

Explanation:

Home address Each packet is addressed to the recipient's.

What is address?

on which to engrave delivery instructions. a letter's address. To assign responsibility to another party such as an organization or factor: to concentrate one's efforts or attention.

A1. A person's address, which includes their home and workplace addresses as well as the street name and house number where they live or work. a change in tone to pay attention to or address a worry or problem: We'll talk about that at our next meeting.

An address, which is a collection of information presented in a mostly standardized fashion and typically employs political boundaries and street names as references, identifies the location of a building, apartment, or other structure or a plot of land.

Thus, it is Home address.

For more information about address,  click here:

https://brainly.com/question/29065228

#SPJ2

who invented the computer? ​

Answers

Answer:

Charles Babbage invented computer

What are the best ways for helping users learn about all of the features of word

Answers

B nnnnnnnnnnvhnvsynctj chi

More pictures more points for everyone :)

Answers

Answer:

WOOF WOOF

Explanation:

MEOW MEOW

Answer:

Nice pics

Explanation:

Love the second one tho

Many companies are allowing employees to set their own work hours. For example, a company may require its employees to work 8 hours a day, but the employees decide if they will work from 7 a.m. to 3 p.m., 8 a.m. to 4 p.m., or 11 a.m. to 7 p.m. This is an example of

Answers

This is an example of flexible work schedule.

Answer:

flexible work hours

Explanation:

got it right on the flvs test :)

It’s Edhesive test 2 question 3 I’m confused help please?

Answers

Answer:

"This would cause an error: an integer variable cannot store a string"

Explanation:

The user cannot put letters into an integer line

Which of the following happens during pre-production?

storyboarding

filmmaking

recording

editing

Answers

i want to say storyboarding
I’m pretty sure story boarding

I WILL MARK BRAINLIEST 11

Answers

Answer:

Many may answer different to this question, but in my opinion I would say it's false

Write a program that will ask the user to continuously input positive numbers until they type -1 to stop. The program should add up all the number they entered as they are typed ( excluding the -1) then print

example: user enters
8

4.

20

-1
Total: 32

Answers

In python 3:

total = 0

while True:

   number = int(input("Enter a number: "))

   if number == -1:

       break

   total += number

print("Total: {}".format(total))

I hope this helps!

Is anyone doing K12?

Yes

No

Answers

Answer:

No

Explanation:

I need a brainliest to level up please contribute

Answer: Yes I'm doing sixth grade in K12

What are the advantages and disadvantages of using a relational database than a flat-file database.

Answers

Advances

Data Integrity, You Only need to change the data in one of the tables, it will then update itselfData Redundancy, By having a relational databse it ensures that no attributes are repeatedData Consistency, There is no chance of the same attribute being stored in a different format in a different fileData Flexibility, When dealing with queries, it gets much easier creating deeper queries with a relational DatabseGreater Efficiency, as you only have to input the data only once into a relational database it saves time and human resources

Disadvantages

Complex, Relational databases can be very complex and without the necessary training can be very hard to break down.Expensive, Relational databases are mostly commercial and require the user to buy that piece of software or licenses for more than one machine

It is easier to minimize duplicate data in a relational database.

It is difficult to use a relational database without prior knowledge.

if you could bring any fictional character to life who would it be and why

Answers

Answer:

someone helpful like: saitama or any hero from any manga, except eryn, spooky.

Explanation:

Answer:

bilbo baggins

Explanation:

huge hobbit fan

Other Questions
which of the following statement is always true Plz help!What was the purpose of writing the Sanctuary of School? Give evidence from the memoir to support your answer. Suppose the external benefit is $10 per extinguisher. True or False: The government could achieve the efficient outcome by giving out fire extinguishers for free using tax revenue. True A hockey puck is sitting stationary on a frozen pond. A player slaps the puck, accelerating it from rest to 45 m/s in 0.03 s. What is the average force on the hockey puck while it is in contact with the stick I need some assistance I WILL GIVE BRAINLIESTWhy is a secondary source, such as a textbook, often more helpful than primary sources such as official police reports and court rulings?A. The language and format of official documents are often difficult to interpret.B. Most official documents are just summaries created by researchers and historians.C. Official documents are not always accurate since they represent secondhand news.D. Official documents are rarely preserved for more than a few years after they're written.4. Which is an example of a primary source?A. a hand-written letter from a World War I soliderB. a pop song about being a veteranC. a textbook chapter about the Civil WarD. a World War II movie starring Tom Hanks5. What is the mission or purpose of the National Archives?A. to help you determine if facts from books and movies are accurateB. to collect, store, maintain, and create historical documentsC. to sell primary sources to teachers and movie producersD. to create a museum where the public can pay to see official documents Galena is solving the following system.Step 1: She multiplies equation (3) by 3 and adds it to equation (1). Step 2: She multiplies equation (3) by 7 and adds it to equation (2). Which statement explains Galenas mistake? HELP ME I'LL MARK U AS BRAINLIEST Why is it important to perform a restriction digest after cloning your gene of interest fragments into the TOPO vector? How did the United States help Japan become a world power? how do you graph y=4x-9 if h(x)=-4-10 find h (-5) According to this graph, what would the approximate equilibrium price be for widgets?A. $0.85B. $1.50C. $2.50D. $4.70 J.J. Thomson discovered the electron in 1897. In 1904, he proposed a model of an atom, describing that there was an equal distribution of negative and positive charges throughout the atom. In 1909, Ernest Rutherford tested J.J. Thomsons model by shooting positive particles at gold foil. Based on Thomson's model, it was predicted that the particles would fly through the foil with a small amount deflected back. Analyzing the results, Rutherford discovered that more of the particles bounced back than expected. Which of the following best explains how the results of Rutherfords experiment affected Thomsons widely-accepted atomic model? Need Help Asap) Graph the piecewise function. ( Look at the picture). Will Mark Brainliest. Please show me points on paper. [ Only Answer If You Know How To Please And Thank You]. Jorge y Lucas sonO hermanoscuadosO amigoso padres Find xFind PFind QFind R a tiny house has a length of 25 feet. the width of the kitchen is 3 feet, and the width of the remain space is 12 feet. which expression represents the area of the tiny house? What is u + V + w when u = -10, v = 4, and w= 8? 14 -22 2 22 A bank is going to hire 5 new employees. There are 12 applicants. Which ratio represents the number of applicants to new employees?