HELP ASAP!!!
Write a program that asks the p34won to enter their grade, and then prints GRADE is a fun grade. Your program should repeat these steps until the user inputs I graduated.

Sample Run
What grade are you in?: (I graduated) 1st
1st is a fun grade.
What grade are you in?: (I graduated) 3rd
3rd is a fun grade.
What grade are you in?: (I graduated) 12th
12th is a fun grade.
What grade are you in?: (I graduated) I graduated

It's in python

Answers

Answer 1

def func():

   while True:

       grade = input("What grade are you in?: (I graduated) ")

       if grade == "I graduated":

           return

       print("{} is a fun grade".format(grade))

func()

I hope this helps!


Related Questions

Challenge #3: Create a network that keeps everyone connected even if one of the lines is cut Insert as many lines as needed

Answers

Answer:

To create a redundant computer network, The star network topology is adopted.

Explanation:

Note that topology is not a type of network but a top view of how the network looks like or is connected.

To make a network redundant, interconnect every computer to one another in the network, so even when a line or an ethernet cable ( the connector) makes, there is no loss of connection.

This form of network is not recommended for large computer networks as it would result in confusion due to excess connection cables running in the network.

Focusing on the general characteristics of a problem or object, while ignoring the details, is a technique called
O refinement
O abstraction
O decomposition
O pattern recognition

Answers

Answer:

Abstraction

Explanation:

In computer science, abstraction has a similar definition. It is a simplified version of something technical, such as a function or an object in a program. The goal of "abstracting" data is to reduce complexity by removing unnecessary information. At some level, we all think of computers in abstract terms.

Elias is writing poems and is formatting several to fit on a page that has been divided into columns. Which column break would allow him to end one poem and start the next poem on the same page?

Question 6 options:
next page
sequential
text wrap
continuous

Answers

Answer:

Explanation:

Column break continous

Software licensed as proprietary

is usually free of cost often has lower quality than other types.

does not permit source code changes.

is rare in today's marketplace.

can be redistributed by the user at will.​

Answers

Answer:

Does not permit source code changes.

Explanation:

Answer:

does not permit source code changes.

Explanation:

Write a program that asks the p34won to enter their grade, and then prints GRADE is a fun grade. Your program should repeat these steps until the user inputs I graduated

Answers

Answer:

Following are the code to this question:

def fun():#defining a method fun

  while True:#defining a while loop  

      g = input("Enter your grade: (I graduated) ")#defining variable g for input value

      if g == "I graduated":#defining if block to check string value

          return 0#return  

      print("{} is a fun grade".format(g))#use print method to print string value  

fun()#calling the method

Output:

Enter your grade: (I graduated) 1st

1st is a fun grade

Enter your grade: (I graduated) 2nd

2nd is a fun grade

Enter your grade: (I graduated) I graduated

Explanation:

In the given python code, a method "fun" is defined, and inside the method, a while loop is defined, which uses a variable "g" for input value from the user-end.

In the next step, if block is defined to check string a value and return a value 0, and use the print method to print the given value, and call the above method fun.  

In game design, what refers to commands that are executed in a certain order?
blueprints
code blocks
instructions
sprites

Answers

Answer:

instructions

Explanation:

It's just called instructions.

instructions is the answer

Find and Explain 3 different sources of Kinetic Energy in your house that are utilized on a daily basis?

Answers

1.)When you turn on a light with a traditional incandescent light bulb, it gives off two forms of energy. There is the visible light that you see, as well as the warmth that it generates

2.) When you place a frozen pizza in the oven, you are heating it up and raising its temperature

3.) A light fixture that is plugged into a wall outlet and is turned on is another example of electrical energy

To find the location’s name of the cell, look to the . To add an action to the cell for that data, add commands in the . To move from one cell to the next, use .

Answers

Answer:

Name Box

Formula Bar

Either Tab or Enter

Explanation:

Answer:

To find the location’s name of the cell, look to the

✔ name box

.

To add an action to the cell for that data, add commands in the

✔ formula bar

.

To move from one cell to the next, use

✔ either tab or enter

.

Explanation:

Before he buys a new smartphone, Tim can best use data to

evaluate which phone he should get.
convince himself he wants a phone.
discredit others’ opinions on his phone choice.
recognize problems that all phones have.

Answers

It’s A or the first one, kinda like process of elimination, the second and third one are obviously eliminated first so then it’s just between a and d. But a makes more sense as to he has to buy one either way

Answer:

A.) Evaluate which phone he should get

Explanation:

Edge2020

Justify the following statement: “Some Americans’ sedentary lifestyles contribute to their poor health.”

Answers

It is essential that people are active in their lives to fulfill that basic biological need. This will allow blood flow to increase, which is beneficial for health. In addition, it can release healthy chemicals into the brain, which is beneficial for mood, energy, and well-being.

Answer:

Since the average American will spend 24 hours watching television per week, it is safe to say that they suffer from a lack of movement and exercise. This, in turn, will lead more Americans to be overweight and more likely to suffer from serious health problems! :)

Explanation:

BRAINLIEST

When using design templates, these elements will be determined for you.
bullets
background
color scheme
content
title
font

Answers

Answer:

background

color scheme

font

I think thats all

Explanation:

Please give me Brainly

When using design templates, the elements that will be determined for you are color scheme and background. The correct options are b and c.

What is designing a template?

The template is creating a document that has a copy of itself. Design templates are ready-made layouts and written materials that can be altered.  For example, if you have a template of office content, then you can use it for another word document. You don't have to start from scratch.

In order to maintain consistency among users and media, templates are frequently created to adhere to certain rules or specifications. You can make new templates for later use, or utilize pre-designed templates from template libraries and websites.

Therefore, the correct options are b, background, and c, color scheme.

To learn more about template, refer to the link:

https://brainly.com/question/28193778

#SPJ2

A
loop has a built in count variable.
for
while
range
function

Answers

Answer:

For

Explanation:

If what I am thinking is right, it would be for because a for loop counts how many times it needs to be ran

You frequently want to take some sort of action on each value in an array when you have values in an array. To access each element individually while iterating through the entire array, use a for loop. Thus, option C is correct.

What for is included in built in count variable?

A variable is often used in a counting loop to count from an initial value to an end value. The index variable is another name for this variable.

The index variable used in this illustration is i. A counting loop typically consists of the following six parts: Setup clauses.

A counter variable must be given a starting value. Test: It must perform a test on the counter variable by contrasting it with a result.

Therefore, The function accepts an iterable and returns an object with tuples, the first member of which is the item's index.

Learn more about count variable here:

https://brainly.com/question/13218753

#SPJ2

What piece of equipment changes the signal from the television camera into an electronic signal?
receiver
transducer
transponder

Answers

Answer:

Transponder

Explanation:

Transponder - a device for receiving a radio signal and automatically transmitting a different signal.

Answer:

transponder isnt correct i took the quiz its one of the other 2

Explanation:

the correct answer is transducer

What can you do if brainstorming only gives you a small or incomplete idea?
A. Brainstorm again
B. Develop the idea through research
C. Develop the idea through a close reading of a literary text
O
D. All of the above

Answers

Answer:

D. All of the above

Explanation:

Under fair use laws students can use as much digital content as they want as long as it is for educational purposes

Answers

Answer:

Is this a question you need help with or is it a fact that everyone should know?

Explanation:

you are working on creating a business document with two other co-workers. Based on just information, which of the following pre-writing strategies would be the best for you?(A.P.E.X.)

Answers

Brainstorming, Rationalizing, and Rough Drafts.
Other Questions
Which of the following is NOT a necessary input for the process of cellular respiration? 1. CO2 (carbon dioxide) 2. Glucose 3. Sugar 4. O2 (oxygen) Write the equation of the line that passes through the given points. (-2,2.5) and (0,-4.5) What is the mood of the poem Fall 22 points Maps that show information about events and where they occurred are called:A. Physical MapsB. Historical MapsC. Thematic MapsD. Projection Maps Write a fictional narrative about the following topic: You could invent a time machine, and today is the day you are going to try it for the first time, but things did not work out in the way you expected, and you encountered some problems. (Write about this extraordinary experience. Did you travel to the future or the past? What kind of difficulties did you go through, and how did you tackle them?) Please, follow the following instructions: 1. Do not write less than 500 words.2. Add pictures/ photos.3. Use at least 6 strong verbs and adjectives 4. Your fictional narrative must include an exposition (setting, conflict, and characters), rising action, climax, falling action, and resolution.5. Use as many sensory details, vivid descriptions, modifiers (strong adjectives or adverbs,) and strong verbs as you can. What characteristics apply to gymnosperms? (Choose all that apply)use seeds to reproduceuse spores to reproducehave vascular tissuehave cones as reproductive structures A scale drawing of a rectangle park measures 6 inches long and 2 inches wide. If the scale used for the 3 inches equals 7 yards, what is the actual length of the park? which of the following best explains why reconstruction endeda. African Americans began to prosper financiallyb. reconstruction policies were no longer needed when the south rejoined the unionc. reconstruction was intended to be a short term event that only lasted 10 yearsd. enforcement of reconstruction acts decreased because of the political compromise true or false dilation of a triangle are congruent to the original triangle Need helpp fastt plss will give brainliest to who is correct plss helpp How many electrons does each atom have? What group is each in? Principal=$100 rate=5% years=3 what is the interest? representative: acting or speaking for othersdemocracy: government ruled by the peopleAccording to those definitions, which sentence describes a government that uses representativedemocracy like the United States?A. A king appoints, or chooses, a group ofadvisors to govern for him.B. All of the people in a country debate andvote on every political issue.C. The citizens of a country elect people tomake laws for them.D. An unelected emperor makes all decisionsfor the government. 1a) How much does each person pay when 6 people share the cost of a mealcosting $100? How is biodiversity regulated in a system? Which phrase describes elevation?the height of a feature above sea levelthe distance of a feature above the cloudsthe distance above the lowest point in the areathe height of a feature above the nearest mountaintop Parallel or perpendicular 3x+5y=10 and 5x-3y=-6 which table shows y as Directly propertional to x You want to order a pizza for dinner. The pizza shop has a deal where you can buy a three-topping pizza for 11.99. If the pizza shop has 30 different toppings that you can put on your pizza, how many different pizzas could you get for 11.99?A.4060B.8120C.24360D.12180 This table represents the number of ounces, u, a kitten grows after w, weeks. When graphed, all of the points in the table lie on the same line. What is the slope and y-intercept of the line? slope=23, y-intercept=0.2 slope=32, y-intercept = 3 slope=23, y-intercept=0.2 slope=32, y-intercept = 3