1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
bogdanovich [222]
3 years ago
7

Python exercise grade 10

Computers and Technology
1 answer:
Lemur [1.5K]3 years ago
5 0

nums = []

while True:

   num = float(input("Enter a number: "))

   if num <= 0:

       break

   nums.append(num)

print("The largest number entered was",max(nums))

I wrote my code in python 3.8. I hope this helps.

You might be interested in
Write a function named “createPurchaseOrder” that accepts the quantity (integer), the cost per item(double), and the description
Leona [35]
#include
Program: using namespace std;
string createPurchaseOrder0;
int main(
{
cout<return 0;
}
string createPurchaseOrder(
{
int qty;
double costPerltem;
string description,info="":
cout<<"Enter Quantity:
cin>>qty;
cout<<"Enter cost per item: "
cin>>costPerltem;
cout<<"Enter Description: "
cin>>description;
if(qty<0 I| costPerltem<0
Idescription.compare(''"')==0)
cout<<'InThe entered data is invalid!":
info="":
else
"
cout<<"'InThe entered data is valid!":
info=info+"'(nQuantity: "+to_string (qty) +" In";
info=info+"Cost per item:
"†to_string (costPerltem)+"In";
info=info+"Description: "description+" In";
return info;

Output:
4 0
2 years ago
What can help you take better animal photographs?
pshichka [43]

Answer:

All of the above

Explanation:

i think i may be wrong.

7 0
3 years ago
Read 2 more answers
The java compiler is able to find all programmer errors.
Troyanec [42]
No compiler can do that. Maybe with AI, but that's beyond the scope of a compiler.
5 0
3 years ago
Social media sites like stuffdot are often classified based on two factors; self-disclosure and ________
Artist 52 [7]

Answer:

The answer to this question is "Media Richness".

Explanation:

Media Richness is a theory, that says Media has the power to convey the information that is needed in communication. This depends on whether uncertain times which type of data will be used, which is explained by the Mass Communication.  

  • Media Richness is the amount in which two social members make audio, visual and private interaction.
  • It provides face to face communication that was released in 1987 which ranks this as the richest channel for mediated communication.
8 0
3 years ago
In an organization, several teams access a critical document that is stored on the server. How would the teams know that they ar
ss7ja [257]

Answer:

D. by checking the version history

Explanation:

When you access a document that is stored on the server and it is used by several teams, you can check the version history by going to file, then version history and see version history and in there, you can check all the versions, who edited the file and the changes that have been made. According to this, the answer is that the teams know that they are accessing the latest copy of the document on the server by checking the version history.

The other options are not right because a duplicate copy and taking a backup don't guarantee that you have the latest version of the document. Also, a reporting tool is a system that allows you to present information in different ways like using charts and tables and this won't help to check that you have the latest version of the document.

5 0
3 years ago
Other questions:
  • Write a function named replace_at_index that takes a string and an integer. The function should return a new string that is the
    5·1 answer
  • Monica is teaching herself to paint. What web resource would be the most helpful
    14·1 answer
  • Antivirus software uses ________ to search for known viruses.
    9·1 answer
  • What is the difference between an electronic notebook and electronic flash cards?
    8·1 answer
  • Which of the following best explains what the profit motive pushes producers to do
    9·1 answer
  • what is the molarity of a solution prepared by dissolving 15.0g of sodium hydroxide in enough water to make a total of 225 ml of
    13·1 answer
  • Partes de la ventana principal de Microsoft excel 2013 con sus respectivas funciones
    14·1 answer
  • Write a SELECT statement that returns three columns: VendorName from Vendors table, DefaultAccount No from Vendors table, Accoun
    10·2 answers
  • 20 POINTS! Which music making software is better? Ableton Live or Logic Pro? Name the advantages and disadvantages of each one!
    7·2 answers
  • Your client Mr. Smith has requested a reservation at Eleven Madison Park this evening for a party of 2 at 6PM. Unfortunately, th
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!