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 1

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.  


Related Questions

A peripheral can be used to tell a computer to complete a specific task.
A) True
B)False

Answers

Answer:

A. true

Explanation:

because you can complete it without it mistakes if your using an computer but if you use an paper you will make mistakes over and over

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

Answers

Answer:

background

Explanation:

Explain in details how Galen , a physician during the Middle Ages, expanded on Hippocrates' theory of the four humors and explain what he believed each other humor represented ?

Answers

Answer:

Galen expanded on the Hippocrates' theory of humor by assigning personalities, moods, behaviors, and emotions to the four humors. He believed blood stood for sanguine personality, black bile for a melancholic personality, yellow bile for a choleric personality and phlegm for a phlegmatic personality.

Explanation:

Hippocrates put forward the theory of the four humors. According to the theory, the human body is made up of four substances: black bile, yellow bile, blood, and phlegm. A healthy human body is the product of a balance of among the four humors, while diseases results if there is an imbalance among the four humors.

Galen, a keen admirer of Hippocrates' ideas, further elaborated on this theory and believed that they affected personalities, moods, behaviors, and emotions.

The personalities assigned the four humors are as follows:

People with predominantly black bile are Melancholic (corresponding to the season of autumn dry and cold): They are very sensitive, and enjoy artistic pursuits.

People with predominantly yellow bile are Choleric (corresponding to the season of summer, dry and hot): They possess a passionate temperament, They have a lot of ambition, energy, drive, enormous vitality but are domineering and get angry quickly.

People with predominantly blood are Sanguine (corresponding to the season of spring, wet and hot): These people are confident, joyful, optimistic, expressive, confident, rational and sociable.

People with predominantly phlegm are Phlegmatic (corresponding to the season of winter, wet and cold): They are deep thinkers, fair, calm, very consistent, relaxed, and observant, willing to compromise, and hard workers.

Plzzzzz help me with this and be serious dont comment random things
Write an algorithm using pseudocode that someone else can follow. Choose one of the following options:

Decide on the message you would like to display to the screen. Some ideas include:
Your favorite book title or TV show and why you like it
A few sentences sharing information about you
Your favorite sport and team or athlete
Use two variables to store your message.
Insert your pseudocode here:











Part 2: Code the Program
Use the following guidelines to code your program.

Use the Python IDLE to write your program.
Using comments, type a heading that includes your name, today’s date, and a short description.
Set up your def main(): statement. (Don’t forget the parentheses and colon.)
Use at least two variables and two print statements to display your message to the screen.
Conclude the program with the main() statement.
Follow the Python style conventions regarding indentation in your program.
Run your program to ensure it is working properly. Fix any errors you may observe.
Example of expected output: The output below is an example of a “Favorite TV Show” message. Your specific results will vary depending on the choices you make about your message.

Output

My favorite TV show is MythBusters.
I like it because I learn a lot and they do crazy experiments.


When you've completed writing your program code, save your work by selecting 'Save' in the Python IDLE. When you submit your assignment, you will attach this Python file separately.

Part 3: Post Mortem Review (PMR)
Write two to three sentence responses to all the questions in the PMR chart.

Review Question Response
What was the purpose of your program?
How could your program be useful in the real world?
What is a problem you ran into, and how did you fix it?
Describe one thing you would do differently the next time you write a program.

Answers

Answer:

legal and ethical questions

brick and mortar guidelines

website content

customer information

the facts of life

payment processing

human resources

this is in career explorations 2 please help will mark the brainiest ​

Explanation: yes he is right this is correct

when a company sends you recommendations of what to buy you know that :

Answers

Answer:

Clothes

Explanation:

how do you give brianliest

Answers

Answer:

When you ask a question in brainly, two helpers will answer it, then on each answerer you'll find "mark as brainliest" button which looks like a crown.

Hope this helps :)

girls question
who wants to go out ;p

Answers

MEEEEE PICK ME CHOOSE ME IM LONELY

Answer: I do

Explanation: *P.S.* I'm a Boy

Python Variables Worksheet
Print | Save
Output: Your Goal
You will write a program to store a message in two variables, then print that message.

Part 1: Plan and Write the Pseudocode
Write an algorithm using pseudocode that someone else can follow. Choose one of the following options:
Decide on the message you would like to display to the screen. Some ideas include:
Your favorite book title or TV show and why you like it
A few sentences sharing information about you
Your favorite sport and team or athlete
Use two variables to store your message.
Insert your pseudocode here:






Part 2: Code the Program
Use the following guidelines to code your program.
Use the Python IDLE to write your program.
Using comments, type a heading that includes your name, today’s date, and a short description.
Set up your def main(): statement. (Don’t forget the parentheses and colon.)
Use at least two variables and two print statements to display your message to the screen.
Conclude the program with the main() statement.
Follow the Python style conventions regarding indentation in your program.
Run your program to ensure it is working properly. Fix any errors you may observe.
Example of expected output: The output below is an example of a “Favorite TV Show” message. Your specific results will vary depending on the choices you make about your message.
Output
My favorite TV show is MythBusters.
I like it because I learn a lot and they do crazy experiments.

When you've completed writing your program code, save your work by selecting 'Save' in the Python IDLE. When you submit your assignment, you will attach this Python file separately.

Part 3: Post Mortem Review (PMR)
Write two to three sentence responses to all the questions in the PMR chart.
Review Question
Response
What was the purpose of your program?

How could your program be useful in the real world?

What is a problem you ran into, and how did you fix it?

Describe one thing you would do differently the next time you write a program.



Part 4: Save Your Work
Don't forget to save this worksheet. You will submit it for your assessment.
Print | Save

Answers

Answer:

Pseudocode:

define func main

accept two parameters

create two variables from those parameters

v1 = title

v2=message

print v1, v2

returns None

call the func including the two arguments

Code:

def main(p1, p2):

""" this is a docstring, the function accepts two parameters p1 and p2 and prints them out"""

____title = p1

____message = p2

____print(title)

____print(message)

main()

Reminder

this didnot include the comment you are to add about your name, date and details

-- comments are placed after a pound sign (#)

also "____" the dashes behind the variables are not indentation just empasising them, as they are done with either by

Tab Button - pressed onceSpace Bar - pressed four times

NEVER MIX THEM CHOOSE AN INDENTATION STYLE AND STICK TO IT

Finally the call function doesn't have a colon called as a nomal object, just as the print funtion also you may include the dicstring if neccessary.

DONT FORGET THE REVIEW QUESTIONS

what is meant by byte in computer terminology​

Answers

Answer:

Byte, the basic unit of information in computer storage and processing. A byte consists of 8 adjacent binary digits (bits), each of which consists of a 0 or 1. The string of bits making up a byte is processed as a unit by a computer; bytes are the smallest operable units of storage in computer technology.

Explanation:

Can I be brainliest? TYSMMMMMM      

A byte is a group of binary digits or bits (usually eight) operated on as a unit. It is considered as a unit of memory size.

any song recommendations, pls dont say 6ix9ine or lil pump

Answers

I actually do have one tho. Try Megan Tha Stallion.

Answer:

smash mouth "all star" is my fave or Imagine Dragons "Whatever it Takes"

Explanation:

Please Help!

Choose all items that are characteristics of placing nested elements on a new line, using indentation.


A) makes HTML errors difficult to find

B) not required by a web browser

C) can cause web page display errors

D) makes HTML analysis and repair easier

E) done automatically by HTML authoring software

Answers

Answer:

Its B,D,E

Explanation:

Got it right on e2020

Answer:

B). not required by a web browser

D). makes HTML analysis and repair easier

E). done automatically by HTML authoring software

Btw cause this class can be a pain here are the answers to the rest of the assignment.

Slide 7/12:

The missing element is

C). <p></p>

Slide 9/12:

The missing tag is:

B). an end (closing) a tag

Slide 12/12:

The missing character is

D). an angle bracket

Explanation:

I just did the Part 3 on EDGE2022 and it's 200% correct!

Also, heart and rate if you found this answer helpful!! :) (P.S It makes me feel good to know I helped someone today!!)

Which is the fastest way to make many formatting changes to a range of cells?
select each cell, right-click, use the ribbon to make changes
select the range, right-click, use the ribbon to make changes
select the range, right-click, format cells, make changes
select each cell, right-click, format cells, make changes

Answers

Answer:

c 3

Explanation:

c 3

Answer:

I believe it could be C

Explanation:

Please click "Thanks" if this helped in any way! :)

Select the correct answer.
What is a hyperlink?
A.
A bold link that goes back to a newspaper
B.
A link that clicks on itself
C.
A way to cite sources in an online article
D.
A special link on a smartphone

Answers

Answer:

c.

Explanation:

a link from a hypertext file or document to another location or file, typically activated by clicking on a highlighted word or image on the screen.

Answer:

c

Explanation:

came out my study guide and i made a 96 % on my 50 question test

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

The way a student prepares for a test or reviews academic material is referred to as

a study environment.
study habits.
study hall.
a study schedule.The way a student prepares for a test or reviews academic material is referred to as

Answers

Answer:

study habits

Explanation:

Answer:

The Answer is Study Habits

Explanation:

Just got it right on edge

Which item cannot be inserted into a header or footer of a document?

Answers

Answer:

All the above items can be inserted into either a header or a footer.

Please mark brainliest!

The items that cannot be inserted into a header or footer of a document is all the above items can be inserted into either a header or a footer. The correct option is d.

What is a header or footer?

A document is a type of information that can be stored electronically. Page numbers are generated automatically. Tables with columns and rows, pictures, shapes, and clipart can all be inserted into a document's header or footer. As a result, all of the items listed above can be inserted into the header or footer.

A header is text at the top of a page, whereas a footer is text at the bottom, or foot, of a page. Typically, these spaces are used to input document information such as the document's name, chapter heading, page numbers, creation date, and so on.

Therefore, the correct option is d, All the above items can be inserted into either a header or a footer.

To learn more about the header or footer, refer to the link:

https://brainly.com/question/4637255

#SPJ2

The question is incomplete. Your most probably complete question is given below:

Automatic page numbers

Tables with columns and rows

Pictures, shapes, and clipart.

All the above items can be inserted into either a header or a footer.

what is a cloud in the world of computing

Answers

Answer:

In the simplest terms, cloud computing means storing and accessing data and programs over the internet instead of your computer's hard drive

Explanation:

What are some options available in the Spelling and Grammar Checker? Check all that apply.

Redo
Undo
Ignore All
Ignore Once
AutoFormat
Add to Dictionary
Readability statistics

Answers

Add to Dictionary
kase ayun yung sa tingin kong tamang sagot soo yun na nga

Answer:

ignore all

ignore once

add to dictionary

Explanation:

took the assignment on edge2020

What does a coder do on a daily basis?

Answers

medical charts and assinging codes

How can I get coding with no experience?

Answers

With "no" experience? With help, yes! Although with nothing, it would be almost impossible.

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

Taylor is getting ready to send an e-mail. In three to five sentences, give Taylor some advice for sending an effective email.

Answers

Answer:

Include subject lines since they are importantuse bullet pointskeep it shortavoid too many exclamation markswatch your tone

Question # 6
Math Formula
What is the output of this program? Assume the user enters 2, 5, 1, and 6.

numA = 0
for count in range(4):
answer = input ("Enter a number: ")
fltAnswer = float(answer)
numA = numA + fltAnswer
print (numA)

Answers

Answer:

14.0

Explanation:

The loop converts each answer to a float. The accumulator variable adds the values entered.  

2.0 + 5.0 + 1.0 + 6.0 = 14.0

Answer:

14.0

Explanation:

Edge 2021

How did New York Governor Hugh Carey handle Sostre’s situation?

Answers

Answer:

The governor found a way to free Sostre without assessing whether or not he was guilty or innocent of drug crime in buffalo.

Explanation:

Answer:

The governor found a way to free Sostre without assessing whether or not he was guilty or innocent of drug crime in buffalo.

Explanation:

correct on e2020 Dawg

The background color indicates the background image of the web page.

True or false?

Answers

This is false. The background color refers to a solid color while the background image just an image.

The background color indicates the background image of the web page is false.

What is distinction among history and history photo?

In a history asset, you could upload history-color, repeat , no-repeat and different photo attributes, however withinside the history-photo assets you're most effectively allowed to feature photos. Show hobby in this post. By the usage of history, you want to specify a different arguments to set the history of the page.

The Background Color facts is saved for photo and image documents that have a color distinctive to the photo history. The history colour is, in maximum cases, displayed withinside the shape of an RGB triplet or a hexadecimal code.

Read more about the web page:

https://brainly.com/question/3700565

#SPJ2

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

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!

most 4 year colleges want an applicant's scores for all the following except

Answers

Answer:

IQ

Explanation:

Which function will find the difference of 15 and 3 and return 12 when the main part of your program has the following line of code?

answer = subtract(15,3)

def Subtract(numA, numB):
return numA - numB

def Subtract(numA, numB):
return numB - numA

def subtract(numA, numB):
return numA - numB

def subtract(numA, numB):
return numB - numA

Answers

Answer:def subtract(numA, numB):

   return numA - numB

Explanation:

i got the right answer but i was willing to get it wrong for the right anwser for you

The function that will find an accurate difference of 15 and 3 and return 12 when the main part of your program has the following line of code is as follows:

def subtract(numA, numB):

       return numA - numB

Thus, the correct option for this question is C.

What is the significance of the output of the program?

The significance of the output of the program is understood by the fact that it delivers some values or concepts to the user with respect to the instruction he/she is given to the computer for processing. The output of the program is very specific in nature.

According to the question, you have to assume the value of number A as 15 and number B as 3. So, when you find the difference between these numbers, you get an output of 12.

You must follow the process as follows while framing a program:

def subtract(numA, numB):

         return numA - numB

Therefore, the correct option for this question is C.

To learn more about Output of a program, refer to the link:

https://brainly.com/question/18079696

#SPJ2

Which best describes what happens when a formula is copied from one cell to another?
The cell references in the formula remain the same to match the cell that the formula is pasted into.
The cell references in the formula remain the same as they were in the original cell.
The cell references in the formula change to match the cell that the formula was copied from.
O The cell references in the formula change to match the cell that the formula is pasted into.
Hurry up

Answers

Answer:

b 2

Explanation:

b2

Which search phrase is the most effective to find out about the most popular pizza chains worldwide in 2019?
A.
popular pizza chains in the world
B.
most popular AND pizza chains AND worldwide AND 2019
C.
the most popular pizzas “in the world today” AND 2019 AND chains
D.
2019 worldwide pizza chains “most popular in the world”

Answers

D I believe is correct

Answer:

D

Explanation:

Other Questions
Can someone help me with this math problem Select all points that do not lie on this line. Susan has made some friends at her new high school who offer her cigarettes during their lunch break. She does not want to smoke but does so in order to fit in.Susan is most likely being influenced by __________.A.physical environmentB.peer pressureC.mediaD.location Diane earns $14,500 a year. She pays 11% of her gross income for federal, state, and local taxes. She is taxed at the FICA rate of 7.65%. She has 3.5% of her income withheld for personal deductions. She is paid biweekly. What is her net pay for each pay period? Round to nearest cent. The digestive process begins as food is chewed in the mouth. The chewing of food is primarily conducted by the A immune system B lymphatic system C muscular system D respiratory system GIVING BRAINLIEST:)during ecological succession the first organisms to enter an ecosystem for reestablishment are called pioneer species. Two examples of organisms that are pioneer species would be ____ and ____.A. Miss and lichen B. Shrubs and trees C. Small animals and shrubs yes or no1.the ink of a pen that is used for writing is not a colloid2.the blood consists of solid particles and plasma are considered a kind of colloid. A package that is heavier than 11 lb. and 8 oz. will have a label that says "heavy" on it. Gloria packed 6 flower pots to send to her customers. Each of the flower pots weighs 1 lb. and 12 oz. The packing material weighs 5 oz. Will her package be labeled as "heavy"? Brainlest to whoever can tell me what pi stands for I need help plz someone help me Help please please!!!!! 4.) How did technological inventions ensure that North Carolinaremained agriculturally strong in the years following theCivil War? 3. Devise up to three strategies that you can use, as Braithwaite puts it, to "eradicate your crutch phrase." How might these strategies help your language become more powerful? what is the most embaresing thing thats happened to u dont mind spelling What is a safe way to bind without a binder? I have massive dysphoria(no they are not small)Please be serious about your answers and if you don't actually know please don't answer Please some answer this I need help!! What is A b g h j d c f e k? Find the slope of each graph. Express the answer in simplest form.Can you please show me a graph you answer Find the slope of the line y=1/6+3/2 QuestionsQuelles remarques faites-vous sur lalongueur des rpliques ? Quelle est l'utilitdes didascalies ?loAconteicon The cult of domesticity emphasized four qualities: piety, purity, submissiveness, and domesticity. Describe and comment on one of these qualities as it is revealed in the documents you read.