def func():
total = 0
while True:
pet = input("What pet do you have? ")
if pet == "rock":
return
total += 1
print("You have a {} with a total of {} pet(s)".format(pet, total))
func()
We wrapped our code in a function so that whenever the user enters rock, we can simply return and exit the function. If you have any other questions, I'll do my best to answer them.
Which of the following would be appropriate to create using the CMYK color model?
Select all that apply.
a printed takeout menu a printed takeout menu , ,
a photography blog a photography blog , ,
a tri-fold brochure a tri-fold brochure , ,
a mobile app logo
Answer:
B, and C
Explanation:
they look like the only two answers that make sence
How would you reply to an email message you've received that has multiple recipients, all of whom you would like to see your reply?
Answer:
depends on the app. if it's in google you can hit the reply all button and that will send the reply to all people or you can copy the email addresses from the original email into a new email
Answer:
the answer is c :D
Explanation:
How do I do these? I dont understand.
One of the primary principles of the Rapid Application Development methodology is early prototyping of the _______ in the development cycle
Answer:
Software Applications
Explanation:
Rapid Application Development (RAD) also is an agile project management strategy used in the development of software. RAD is also referred to as Rapid Application Building (RAB).
Its greatest advantage is that it reduces the time taken to churn out a program and this is why a lot of developers are now adopting it.
This is made possible by reducing the amount of time and effort spent on planning and increasing the amount of energy spent on creating prototypes.
Other merits of this methodology are:
It reduces the risk associated with the project by ensuring that the program is first used as a prototype rather than the real deal. It ensures better quality. When users interact with the prototypes, they are able to provide very useful feedback that goes back into development to enhance the quality of the project.Cheers!
PLzzzzzz help me!! I will mark brainiest to the one who answers it right!!
Answer it quickly!!
Write a pseudo code for an algorithm to center a title in a word processor.
Answer: abstract algebra
Explanation: start with the algorithm you are using, and phrase it using words that are easily transcribed into computer instructions.
Indent when you are enclosing instructions within a loop or a conditional clause. ...
Avoid words associated with a certain kind of computer language.
Answer:
(Answers may vary.)
Open the document using word processing software.
In the document, select the title that you want to center. The selected word is highlighted.
On the Menu bar, select the Format tab.
In the Format menu, select Paragraph.
The Paragraph dialog box opens with two sub tabs: Indents and Spacing, and Page and Line Breaks. The first tab is selected by default.
Adjust the indentation for the left and right side. Ensure that both sides are equal.
Preview the change at the bottom of the dialog box.
Click OK if correct, otherwise click Cancel to undo changes.
If you clicked OK, the title is now centered.
If you clicked Cancel, the title will remain as it is.
Explanation:
I took the unit activity
Write a multi-way if statement that compares the double variable pH with 7.0 and makes the following assignments to the bool variables neutral, base, and acid:
Answer:
try:
pH = float(input("Enter number between 0 to 14: "))
except ValueError:
print("input must be a number")
if pH < 7:
print("pH is Acidity")
elif pH == 7:
print("pH is neutral")
else:
print("pH is Base/alkaline")(
Explanation:
The try and except statement is used to check if the input is a number, if its not, the print statement is displayed. The nested if statement compares the pH input to know if it is an acid, base or neutral.
What is payload?
a block of data inside the packet
a block of data transmitted across a network
the maximum amount of data a network can transmit
a 32-bit numeric address
Answer:
a block of data inside the packet