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
Juliette [100K]
4 years ago
13

Write a Python program where the user enters the number of elements in a list ‘n’ and those ‘n’ numbers that form the list. The

user also enters a number ‘m’ by which all the elements of the list are multiplied and printed. You must print both the list before multiplying and the list after multiplied by the number ‘m’.
Computers and Technology
1 answer:
Alika [10]4 years ago
6 0

Answer:

lst = []

multiple = []

num = int(input('How many numbers: '))

multipleOf = int(input('Enter the number to multiply with: '))

for n in range(num):

 lst.append(n)

 numbers = n * multipleOf

 multiple.append(numbers)

print("elements in given list is :", lst)

print("multiple in given list is :", multiple)

Explanation:

User will enter the number and then enter the number to multiply that list.

You might be interested in
Hypertext enables you to navigate through pieces of information by clicking the __________, that connect them.
Nana76 [90]

What we usually click to open the hypertext is called; Hyperlinks.

<h3>What is hypertext?</h3>

Hypertext is defined as a form of writing with three characteristics namely;

  • Discernable free standing content nodes.
  • Links between nodes.
  • The expectation of active choice by readers.

Now, a hyperlink is one that points to a whole document or to a specific element within a document. Hypertext is simply text with hyperlinks which we click to view the hypertext.

Read more about Hypertext at; brainly.com/question/853165

#SPJ1

5 0
3 years ago
Does every loop structure require curly braces?<br> A. yes<br> B. no
ExtremeBDS [4]

Answer:

<h2><u><em>If the number of statements following the for/if is single you don't have to use curly braces</em></u>. </h2>

Explanation:

But if the number of statements is more than one, then you need to use curly braces.

<h2><u><em>BRAINLIEST please <3</em></u></h2>

<u><em></em></u>

<u><em>so its</em></u>

<h2><u><em>NO</em></u></h2>
4 0
2 years ago
The conceptual phase of any system or just the software facet of a system best describes the sdlc
geniusboy [140]
I think its the systems investigation phase.
5 0
3 years ago
The first field of an Internet Control Message Protocol (ICMP) packet specifies the message type. Which choices represent messag
Scorpion4ik [409]

Answer: destination unreachable

time exceeded

Explanation:

You didn't give the options to the question but based on a similar question there I got online, the answer will be destination unreachable and time exceeded.

The Internet Control Message Protocol (ICMP) refers to a protocol that is used in the communication of problems with regards to the transmission of data. Based on the information given, the choices that represent message type examples are:

• destination unreachable

• time exceeded

4 0
3 years ago
A user logging on, an application server connecting to a database server, an authentication server rejecting a password, or an a
ser-zykov [4K]
<span>The answer is Event.  A user logging on, an application server connecting to a database server, an authentication server rejecting a password, or an antivirus scanner reporting a suspected virus are all examples of Event.
</span>
4 0
4 years ago
Other questions:
  • When you divide a picture into thirds, how many parts do you end up with? *
    14·2 answers
  • What benefit does internet have​
    11·1 answer
  • Derived Classes Warrior Stores the warrior's allegiance as a string. The warrior does not attack warriors that have the same all
    14·1 answer
  • Which type of computer network ensures high quality​
    9·1 answer
  • Why is it a good idea to defrag your hard disk regularly?
    9·1 answer
  • Name three output devices
    6·1 answer
  • What type of photography is represented by a photograph of a dog on a beach ?
    11·1 answer
  • How 0x86 processor store 0x12345678 in memory ​
    13·1 answer
  • I need help with computer science<br> the quiz on e2020 is on hackers and unauthorized access
    15·2 answers
  • 1- Identify the face expressions is considered....
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!