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
Hoochie [10]
3 years ago
15

Write a list comprehension that creates a list containing the numbers that result from the values 1 through 10 being multiplied

by 1.5. That is, the list will contain the values 1.5, 3.0, 4.5, etc. through 15.0. Assign the new list to the variable nums.
Computers and Technology
1 answer:
Alexeev081 [22]3 years ago
8 0

nums = [x*1.5 for x in range(1,11)]

print(nums)

The first line is the list comprehension and the second prints the list to the screen so you can see that it works.

You might be interested in
When I click on someone who asked a question and i want to see there answer it is always blurred and when I asked a question I c
yuradex [85]

Answer:

If your on pc like me use ad blocker I do that but otherwise watch the add press ok after if it dosemt work tell me I’ll try and find you it and for ad blocker you also can have a jailbreak divice and to get and blocker go to chrome extension website search up pop up ad blocker

Explanation:

7 0
3 years ago
Martha is developing a software program in C++ and has a question about how to implement a particular feature. She performs an o
VLD [36.1K]

Answer:

A blog

Explanation:

A blog is a regularly updated website or web page, typically one run by an individual or small group, that is organised by posts.

7 0
3 years ago
Which of the following information is okay to share on social networking site?
zvonat [6]
C. Your hobbies and interests
4 0
3 years ago
Read 2 more answers
Which of the following is not a characteristic of a motorcycle?
MrRa [10]

Answer:

the correct answer is A

3 0
3 years ago
What is the output of the following code? Select all that apply c=0 while ( c < 11 ) c = c + 6
Andreyy89

Answer:

crop=6

Explanation:

6 0
1 year ago
Other questions:
  • What is a risk or an effect of software piracy?
    9·2 answers
  • A ________ is a user-interface component with two states: checked and unchecked. radio button check box menu item submenu item
    5·1 answer
  • What is the purpose of an arraignment?
    9·2 answers
  • A recipe for deducing the square root involves guessing a starting value for y. Without another recipe to be told how to pick a
    12·1 answer
  • If none of the contacts of a manual switch change status when the operator is activated, what is the most probable cause?
    9·1 answer
  • Run a Monte Carlo simulation on this vector representing the countries of the 8 runners in this race: runners <- c("Jamaica",
    14·1 answer
  • I need help with this problem please
    9·1 answer
  • Where is permanent data in the computer stored whenever gym starts his laptop He sees some commands in numbers appearing on the
    12·1 answer
  • private int product(int n) { if(n <= 1) return 1; else return n * product(n-2); } What is the output when product(6) is calle
    6·1 answer
  • A user logs in to a virtual world and creates an animated character representing themselves, which they then use to move through
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!