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
guajiro [1.7K]
4 years ago
6

Write a program that prompts the user to input an integer and then outputs both the individual digits of the number and the sum

of the digits. For example, it should output the individual digits of 3456 as 3 4 5 6, output the individual digits of 8030 as 8 0 3 0, output the individual digits of 2345526 as 2 3 4 5 5 2 6, output the individual digits of 4000 as 4 0 0 0, and output the individual digits of -2345 as 2 3 4 5.
Computers and Technology
1 answer:
otez555 [7]4 years ago
3 0

Answer:

Explanation:

#Using python to create the list

#first we create an empty list to store our numbers.

import math

data = []

x = 0

InputSum = 0

NumInput=int(input("how many number do you want to add"))

while x <=(NumInput):

   Input=int(input("Enter the numbers here"))

   data.append(Input)

   x = x+1

   InputSum = InputSum + Input  #this is to add the numbers entered

print("The number you entered are ")

print(*data)  #this print the numbers entered

print("The sum of the numbers is", InputSum)

You might be interested in
It is desirable to provide a degree of __________ __________ among classes so that one class is not adversely affected by anothe
alexandr402 [8]

Answer:

The right approach is "Traffic isolation ".

Explanation:

  • A significant amount of those same traffic insulation is necessary. Therefore one class isn't influenced by yet another traffic class which makes a mistake. Then maybe the packages throughout the traffic could collapse.
  • This also eliminates uncertainty with people operating the infrastructure. If you don't need the VLANs to speak to one another because you could implement anything about this illustration as well as add it to certain VLANs.
4 0
3 years ago
Which is not a key factor a programmer uses in selecting the language for a project?
BigorU [14]

Answer:

Number of Inputs needed by a project

Explanation:

There are various factors to be kept in mind while choosing a language to code a project like -

  • The resources available are compatible with the language or not.
  • Lines of code
  • Response time requirement of project
  • Portability of language
  • Web integration of project ,etc.

But the thing which does not affect the selection of a language is how many inputs are needed by the project as almost every language can accept numerous inputs where type of input can affect selection but the number cannot.

7 0
4 years ago
A __________ is an entity that manages the use, performance, and delivery of cloud services, and negotiates relationships betwee
densk [106]

Answer:

Cloud Broker is the correct answer of this question.

Explanation:

A cloud broker is a person or industry government entity acting as an operator between the buyer of a cloud computing service and the buyers of that software

  • In a cloud broker would be someone who operates as an interpreter during negotiation involving two or more organizations.
  • A cloud broker is a technology platform which utilizes function transmission between multiple third party service suppliers.
4 0
3 years ago
What is an example of new technology having a negative impact on sustainability?.
Talja [164]

An example of new technology having a negative impact on sustainability is the use of computer automation to shut down unused electronic devices.

<h3>What is technology?</h3>

Technology can be defined as a field of science that involves the process of creating, applying, and managing scientific knowledge and ideas, so as to effectively and efficiently proffer solutions to various problems and cause an improvement in human life.

<h3>What is a computational sustainability?</h3>

Computational sustainability can be defined as a process through which societal, economic, ecological and societal resources are balanced for the future well-being of humanity, especially by developing computational models and using mathematical and information science techniques.

In this context, we can infer and logically deduce that an example of new technology having a negative impact on sustainability is the use of computer automation to shut down unused electronic devices.

Read more on computational sustainability here: brainly.com/question/25719495

#SPJ1

6 0
2 years ago
Cite 3 funções para o uso de uma Rede de Computadores
Andru [333]

Answer: Servidores, Clientela, Medios de transmisión

8 0
3 years ago
Read 2 more answers
Other questions:
  • When you right-click a spreadsheet object, what command should you select to activate the sheet?
    6·2 answers
  • Can you recover deleted bookmarks on a Chromebook? If so, how?
    5·2 answers
  • If the moon disappeared, what effect would this have on the Earth’s tides?
    15·1 answer
  • In the case below, the original source material is given along with a sample of student work. Determine the type of plagiarism b
    7·1 answer
  • List the five human relations skills
    12·1 answer
  • My study background is business. I am doing a bachelor of business administration. My major course is management information of
    15·1 answer
  • To cope with the uncertainty about how their pages will be viewed, many web page designers opt to use _________ units, which are
    13·1 answer
  • Anyone else 17 and still plays rblox xd?
    8·2 answers
  • What does the term attenuation mean in data communication?
    11·1 answer
  • Why is it important for organizations to make strong commitment to Cloud at scale?
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!