4.3 Code Practice: Question 1
Instructions
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 3:

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

i = 0

while i < age:

   print("**HUG**")

   i += 1

I hope this helps!


Related Questions

Which type of film would typically require the least amount of input from a screenwriter?


comedy

drama

documentary

mystery

Answers

Answer:

comedy

Explanation:

thats for the writers ig

Answer:

b: documentary

Explanation:

edg2021

Define the term Frame Rate.
O The size of the video file
O The amount of frames per second used when recording video.
The time length for your video
The size of the frame (height and width)

Answers

Answer:

the amount of frames per second

Explanation:

to determine how long it is

Which task option will keep you aware of the progress of a task you assign?

Set reminders on tasks with due dates.
Set the Quick Click flag for automated actions.
Keep my task list updated with copies of tasks.
Send a status report when I complete an assigned task.

Answers

Answer:

It's C

Explanation:

Correct on edg

Answer:

C is right

Explanation:

Which of the following is not an effective listening strategy?

a.
Be “other-oriented”
b.
Attend completely
c.
Interrupt to share your thoughts
d.
Look for nonverbal messages

Answers

Interrupting to share your thoughts. If you are trying to be a good listener then you should listen to what they have to say first before sharing your thoughts.

Answer:

I believe the answer is c but I may be wrong

What capital city is located at 33 s and 71w?

Answers

Answer:

jmkk;

Explanation:

What is a SCSI-1? What is it's function?

Answers

Answer:

The Small Computer Systems Interface (SCSI) is a local I/O bus that is used to connect up to seven peripherals to a host computer. A wide variety of peripherals can be connected including, hard drives, tape drives, CD-ROMs, scanners, etc. The SCSI-1 Hard Drive Interface is a Single ended data bus transmitting data referenced to ground [unbalanced]. SCSI-1 may be call narrow SCSI [or just SCSI] when the 8-bit data path is implemented, or Wide SCSI when operating with a 16-bit data bus. ... A total of 7 devices may be connected on the bus.

What does it mean to clear a setting in a dialog box?
A) To print it
B) To turn it off
C) To delete it
D) turn it on

Answers

it would be c because you clean in it up

Example of hard ware that computers on a network can share are he operating and the web browser? True or false

Answers

this is false........,.......,...

Answer:

your answer would be false

Explanation:

hope this helped!

What are the three primary colors found on the color wheel?

Answers

Answer:

The three primary colors are red, yellow, and blue.

Dayla is concerned about managing her digital footprint. What does she mean by this? *

Answers

Answer:

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

Explanation:

First we know what is digital footprint.

A digital footprint is a trail of data you create while using the Internet. It includes the websites you visit, emails you send, and the information you submit to online services.

So, Dalya is concerend about managing her digital footprints means she has concerned to store password that used to be login and make them secure, the email she is sending to the correct address and text in the email is grammatically correct, information that she is submitting online does not violate the security concerns, etc.  

The right answer is D).

Computers represent color by combining the sub-colors red, green, and blue (rgb). Each sub-color's value can range from 0 to 255. Thus (255, 0, 0) is bright red, (130, 0, 130) is a medium purple, (0, 0, 0) is black, (255, 255, 255) is white, and (40, 40, 40) is a dark gray. (130, 50, 130) is a faded purple, due to the (50, 50, 50) gray part. (In other words, equal amounts of red, green, blue yield gray).

Answers

Answer:

Follows are the code to this question:

#include <iostream>//defining a header file

using namespace std; //using namespace

int main() //defining main method

{

int red,green,blue,s; //defining integer variable

cout<<"Enter value: \n ";//print message

cin>>red>>green>>blue; //input value

if(red<green && red<blue)//defining if block that checks red value

s=red;//store red variable value to s variable

else if(green<blue)//defining else if block that checks green value less then blue

s=green;//store green variable value in s variable

else//defining else block

s=blue; //store blue variable value in s variable

//calculating red, green, blue value

red=red-s;//store red value

green=green-s;//store green value

blue=blue-s;//store blue value

cout<<red<<" "<<green<<" "<<blue;

}

Output:

Enter value:

130  

50

130

80 0 80

Explanation:

In the above code, inside the Main method, four integer variable "red, green, blue, and s" is defined, in which "red, green, and blue" is used for input the value from the user end.

In the next step, a conditional statement is used, that checks the red variable value, if the condition is true, it will store its value in the "s" variable, otherwise, it will go to else if block.In this block, the green variable checks its value less than then blue variable value, if the condition is true, it will store the green value in the "s" variable, otherwise, it will goto else block.In this block, it will store the blue variable value in the "s" variable, and subtract the value of "red, green, and blue" value from "s" and store its value, and at the last, it will print its value.    

How do many corporations most likely manage the health and safety of their employees and the workplace?
Ο Ο
with guidelines provided by the EEO
only by following OSHA's rules and regulations
O by consulting workers' labor unions
with an internal office of health and safety

Answers

Answer:

The answer to this question is given below in the explanation section. However the correct option is only by following OSHA's rules and regulation.

Explanation:

Corporations most likely manage the health and safety of their emoployees and workplace only by following the OSHA's rules and regulations.

Because this is standard law that requires employers to provide their employees with working conditions that are free of known dangers. The OSH Act created the Occupational Safety and Health Administration (OSHA), which sets and enforces protective workplace safety and health standards for employees.

However, other options are not correct because these options do not cover the employees' protective workplace safety and health.

Answer:

it's b

Explanation:

What is the internet ?



Answers

Answer:

internet is the connection of computers worldwide

Answer:

Explanation:

The internet is the wider network that allows computer networks around the world run by companies, governments, universities and other organizations to talk to one another.

The image below shows a weather service map
Which detail best describes this map?
O shows isolines and isobars
O shows types of precipitation
O was created for newspapers
O is probably not used to make forecasts
Mark this and return
Save and Exit
Next
Submit

Answers

Answer:I chose A

Explanation:

Which of these codes is best for creating websites?
a) swift
b) HTML
c) java
d) none of the above

Answers

Answer:

B) HTML because HTML instructs the browser on how to display text and images in a web page. Recall the last time you created a document with a word processor. Whether you use Microsoft Word or Wordpad, Apple Pages, or another application, your word processor has a main window in which you type text, and a menu or toolbar with multiple options to structure and style that text.

Answer:

B) HTML because HTML instructs the browser on how to display text and images in a web page. Recall the last time you created a document with a word processor. Whether you use Microsoft Word or Wordpad, Apple Pages, or another application, your word processor has a main window in which you type text, and a menu or toolbar with multiple options to structure and style that text.

(just basic coding I can't wrap my around :L) Which of the following shows the assignment of a string to a variable? Select 3 options.

answer = input("How old are you? ")

answer = "23"

answer = (23)

answer = '23'

answer = 23

Answers

Answer:

The answer is A, B, D.

Explanation:

I hope this helps. Have a great day and be safe.

Charts are often used in _____ to quickly represent data and help the readers understand the data.

Answers

Answer:

Explanation down below :)

Explanation:

The answer is reports.. . hope that helped!

What is BM(of KARD)'s favorite color,I'm making a Powerpoint about K-Pop because my teacher asked me to,and for me to give them some song reccomendations(I have that covered though UwU).
Thanks!

Answers

Answer:

I don't even know but hey fellow K-Pop stannnnn

Is this a Bad Cpu processor ? I need some.help ASAP I turn on my.pc and it has no display but everything is on fans and the you so.please give me.some.light on this

Answers

Either bad cpu or graphics card

classify the situation example​

Answers

The situation is wrong and the example is right

What is the binary equivalent of the decimal number 138?

Answers

Answer:

10001010

Explanation:

You created a plan for the program to find the slope, as shown below.
# Find the slope of the user's two points
# Get the points
# Calculate the slope
# Display the result
This plan is in the form of
O flowcode
O pseudochart
pseudocode
flowchart

Answers

Answer:

Pseudocode

Explanation:

Correct answer edge 2020

Answer:

Pseudocode

Explanation:

When ever you are using idle for coding, if there are number signs(hashtags) in front of the text, that means that this text is considered comments. In the lines of code, these "comments" don't affect the code. They are there as placeholders. The proper term for this is Pseudocode.

In a email to a client, Luis is requesting that they follow up with him by phone at their earliest convenience. Which feature will Luis want to use to provide his contact information?
a. closing
b. signature block
c. subject line
d. to

Answers

Answer: signature block

Explanation:

(what is word processing​

Answers

Answer:Processing: perform a series of mechanical or chemical operations on (something) in order to change or preserve it

Explanation:

nappropriate use of technology makes it easier for cyber bullies to
others.

Answers

inappropriate*
And yes
It does make it easier.


As part of the IT department, you configure the employee workstations for your company. Your company's IT policies prioritize security ove
running active content. What should you disable in user's browsers to restrict active content?
А
Cookies
B
Pop-under windows
C
CSS
D
JavaScript

Answers

Answer:

A Cookies

Explanation:

I don't know if I'm right but I hope it is, but if not then can you help me

Why is Internet fraud becoming increasingly common?

Answers

The internet has billions of users, and is gaining more everyday. As people gain more and more technological resources, it becomes easier for them to steal people’s information.

A person who leads a
group uses
skills.

Answers

Answer:

He uses skills to make sure he is good leader

Explanation:

Jake really works well with numbers and is skilled with computers but doesn't work well with others. Which of the jobs discussed in this unit might be best for Jake? Why?

Answers

Answer:

Repair Technician (this is a guess, since im also on this)

Explanation:

A repair technician work alone most of the time and since he is good with computers, he can fix computers and not have to worry about working with others if he is too good at it, since he will satisfy so many customers and make alot of money if it is based on fixing a problem on a Computer. Since he is good with numbers, he will be able to count the fee from him having to work and fix something based on what it is.

pictures that you can click on to tell your computer what to do.

Answers

what do you mean ? I’m confused..
You might need to add picture so we can see what you need
Other Questions
Which system has a central government and local units that implement the central government's decisions?OA monarchical systemOB parliamentary systemOC unitary systemOD federal systemResetNextAll rights reserved. What is the cosine of 90 degrees? How does Google translate affects the written performance of a student? Invent something completely new that would help people in the 1800s. Write a paragraph explaining it and include a detailed description. Kyle is planning to hike a trail that is 24 miles long. He hikes at a rate of 6 mi/hr. Write a lineup equation in slope intercept form to represent the distance y, Kyle has remaining in his hike after x hours. * start by finding two points. A restaurant earns $10 for each hour worked up to 40 hours each week and 15 for each additional hour worked over 40 hours. If x represents the total number of hours the restaurant host work,which function,f(x), represent the total amount the restaurant host would earn if working for more than 40 hours Alex and Carmen both sell items at craft fairs. Alex earns $36 for 3 birdhouses, and Carmen earns $75 for 5 scarves. What is the unit rate that each person earns for their craft? How many birdhouses will Alex need to sell in order to make as much as Carmen does when she sells 12 scarves? How do you know? A. Mitchell Palmer, attorney general under President Wilson, was stronglypro-immigrant.anti-radical.pro-labor.anti-government. Which of the following is true about science and technology? A. Advancements in science cannot lead to advancements in technology, but technological advancements can lead to scientific advancements. B. Advancements in science can lead to advancements in technology, and technological advancements can also lead to scientific advancements. C. Advancements in science cannot lead to advancements in technology, and technological advancements cannot lead to scientific advancements. D. Advancements in science can lead to advancements in technology, but technological advancements cannot lead to scientific advancements. For each of the following questions, provide a 2-3 paragraph response to the prompt. Be sure that your answers are accompanied with direct quotes from the text which support your response. As you write your answers, you may use the text or your study guide to assist you through the writing and/or analytical process, but no other sources are permissible.In Born A Crime, Trevor Noah introduces many individuals who intentionally deceive others. The person's dishonesty may be intended either to help or hurt. Perhaps the decision to mislead comes from a place of personal gain (like Tom or Abel), protection (like in the jail scene), or to carry out a crime. Write a short essay in which you analyze the motives for that individual's deception and discuss how the deception contributes to the text as a whole. * Solve for the indicated variable.y = mx + b for xx= Which graph shows the result of dilating this figure by a factor of One-third about the origin?On a coordinate plane, triangle A B C has points (negative 6, 6), (6, 6), (6, negative 6).On a coordinate plane, triangle A prime B prime C prime has points (negative 2, 2), (2, 2), (2, negative 2).On a coordinate plane, triangle A prime B prime C prime has points (negative 3, 3), (3, 3), (3, negative 3).On a coordinate plane, triangle A prime B prime C prime has points (Negative 18, 18), (18, 18), (18, negative 18).On a coordinate plane, triangle A prime B prime C prime has points (negative 12, 12), (12, 12), (12, negative 12).Pls its on edge i give brainliest Which set of ordered pairs could represent a function?o (2, 3), (2, 2), (2, 4), (2, 9), (2,-2)O (1,5), (2, 6), (1, 6), (4, 5), (1, 4)O (1, 0), (2, 0), (1, 3), (4,3), (5, 7)O (5, 1), (7,3), (9,5), (11, 7), (13, 9) Which group was interested in holding the United States accountable for previous treaties and agreements made withAmerican Indians?A. Jerome CommissionB. Dawes CommissionC. Four Mothers SocietyD. Crazy Snake Society EffectCauseIf it is rainingthen it is springA. Construct ArgumentsDetermine whether each effect isalways true for the given cause,or is not necessarily true for thegiven cause. For the effects thatare not necessarily true, howcould you change them to makethem always true?If x and y are whole numbersthen their difference x -- y is awhole numberIf water is heatedthen it boils.If a triangle has a right anglethen it is a right triangleIf your favorite color is bluethen you are a good speller. 11. Graph the function. Label the vertex and axis of symmetry. State the domainand range. Then describe where the function is increasing and decreasing. *f(x) = 2(x - 1)(x 3) The large profits of an American companies such as a United fruit and citadel fruit were dependent upon When did most nations in southeast Asia gain independence from western powers?A) after world war IIB) during the Japanese occupationC) before word war IID) during the Vietnam war Obama called for ___ American withdrawal from Afghanistan.A.) a gradualB.) an immediate About what year was the bow and arrow invented?About 15,000 years agoAbout 10,000 years ago About 12,000 years ago About 5,000 years ago