kadenhuff2019 kadenhuff2019
  • 12-03-2021
  • Computers and Technology
contestada

logic for a program that allows a user to enter a number and displays the sum of every number from one through the entered number

Respuesta :

berriosgabep60yfw
berriosgabep60yfw berriosgabep60yfw
  • 12-03-2021
num = input("enter number: ")

x = 1
while x <= num:
sum = num + x
print(sum)
x = x + 1
Answer Link

Otras preguntas

Boomtowns we’re towns that
Based on the excerpt, which of the following statements best summarizes the incentive system that ranks sumo wrestlers? O The incimtive system penalizes elite s
Given a normally distributed data set with the mean = 88 and the standard deviation = 6, according to the empirical rule, what percent of the data points are be
The Marcos family consists of 2 adults and 4 children. They spent a total of $40 on circus tickets. Let x represent the cost of an adult ticket, and let y repre
Polygon LMNOP was transformed to create polygon L'M'N'O'P'.2 pentagons have identical side lengths and angle measures. The points are labeled with the same lett
a group of 31 friends gets together to play a sport. first person must be more be divided into teams . each team has to have exactly 3 players , and no one can
Giving brainliest :)
Volume round to nearest tenth
make a in a sentence to uwuwpbrnjb​​
Giselle works as a carpenter and as a blacksmith. She earns $20 per hour as a carpenter and $25 per hour as a blacksmith. Last week, Giselle worked both jobs fo