GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

GradePack

What does math.floor(7.8) return?

What does math.floor(7.8) return?

Read Details

What is the output of 20 // 6?

What is the output of 20 // 6?

Read Details

What does len(“Hello”) return?

What does len(“Hello”) return?

Read Details

Complete the following to receive full credit for this Final…

Complete the following to receive full credit for this Final Exam: Review Final Exam. You are required to submit two files. Use may use the same word file (Final exam) or choose to create a new word document. In addition, you need to create an excel file to answer these questions. Name your files as FinalExam_LastName.  Make sure that there are no spaces in your file names. Make sure you clearly label your answers. You may use the comment feature to provide any further explanations. Submit the Word file and Excel files in their respective locations

Read Details

What does list(map(lambda x: x * 2, [1, 2, 3])) return?

What does list(map(lambda x: x * 2, [1, 2, 3])) return?

Read Details

You have a list of dictionaries representing products:produc…

You have a list of dictionaries representing products:products = [{“name”: “Laptop”, “price”: 999}, {“name”: “Mouse”, “price”: 29}, {“name”: “Monitor”, “price”: 349}]Write Python code that: (1) uses a loop to calculate total inventory value, (2) uses a lambda with sorted() to sort products by price highest-first, and (3) uses a list comprehension to get only product names where price is above 100. Show expected output for each.

Read Details

Given d = {“x”: 10, “y”: 20}, what does list(d.keys()) retur…

Given d = {“x”: 10, “y”: 20}, what does list(d.keys()) return?

Read Details

What does np.random.normal(100, 15, 1000) generate?

What does np.random.normal(100, 15, 1000) generate?

Read Details

What values does range(2, 8) produce?

What values does range(2, 8) produce?

Read Details

When does a while loop stop executing?

When does a while loop stop executing?

Read Details

Posts pagination

Newer posts 1 … 57 58 59 60 61 … 77,727 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top