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
ASHA 777 [7]
3 years ago
9

Write a while loop that prints userNum divided by 2 (integer division) until reaching 1. Follow each number by a space. Example

output for userNum
Computers and Technology
1 answer:
sashaice [31]3 years ago
8 0

userNum = int(input("Enter a number: "))

while userNum > 1:

   print(userNum, end=" ")

   userNum /= 2

I wrote my code in python 3.8. I think this is what you want but I'm not too sure. I'll change the code if you need me to.

You might be interested in
When evaluating portable CD players, you consider price, the sound quality, and ease of using the controls. These are your _____
ElenaW [278]

Answer:

Hi you haven't provided the options to the question so I will just give the answer in my own words and you can check with the options.

Answer is ALTERNATIVES

When evaluating portable CD players, you consider price, the sound quality, and ease of using the controls. These are your ALTERNATIVES in the purchased decision process

Explanation:

Purchase decision process is the decision making process used by consumers regarding the market transactions before, during and after the purchase of a good or service.

There are five stages involved in purchase decision process which are: need recognition,

Information search, evaluation of alternatives, purchase decision and post purchase behavior.

Evaluation of alternatives: The information search reveals different products for the consumer to evaluate and understand which product would be appropriate, this can also be referred to as the consumer's alternatives.

Therefore, the answer that best suits the question is ALTERNATIVES. When evaluating portable CD players, you consider price, the sound quality, and ease of using the controls. These are your ALTERNATIVES in the purchased decision process

7 0
3 years ago
Read 2 more answers
1. What is a digital networking app?
koban [17]
Digital networking is building relationships through social media. Just like traditional networking is an ongoing thing, in the digital world, you read people's posts, comment and share them. You interact and again and again.
4 0
3 years ago
Read 2 more answers
Should Manufacturers Include Extra Programs in Operating Systems for Computers and Mobile Devices?
Gennadij [26K]

Answer:

Well, it depends. Sometimes the extra programs can be useful or just plain fun, in which case the answer is yes. But extra programs can also sometimes be utterly useless and get in the way, in which case the answer is no.\

4 0
3 years ago
Angelina, the outgoing student body president, has finished a report about the upcoming school election. She wants to add a bord
stepladder [879]

Answer: page background, page borders, color

Explanation: just did the assignment

4 0
3 years ago
Read 2 more answers
Explain the following terms:<br><br> a) Atomicity<br><br> b) DML
GenaCL600 [577]

Answer:

a) Atomicity:- It is among the one of the ACID properties of transactions.It states that an atomic transaction is irreducible and indivisible series of data operations such that either nothing occurs or all occurs.

b) DML(Data Manipulation Language):- It is a computer programming language that is used for inserting,deleting,manipulating data in the database.For example -SQL.

6 0
4 years ago
Other questions:
  • _____ provide the standards, syntax, statements, and instructions for writing computer software
    14·1 answer
  • What is the definition of an extinct species?
    8·2 answers
  • What are 3 things that can make cyberbullying especially harmful​
    12·1 answer
  • A beginning driver may tend to oversteer. This means the driver what? Btw Cars are technology so that is why it is under Compute
    11·1 answer
  • I. portability II. reusability III. inheritance IV. method V. data A. a new class can automatically pick up data and methods of
    14·1 answer
  • In the ISO/IEC 27002 framework, _________________ describes the use and controls related to encryption.
    15·1 answer
  • Network servers and web servers are examples of what type of server?
    9·2 answers
  • arrange the following numbers from the highest to the lowest. ⅔,-7,0. no file or photo​
    8·1 answer
  • Why is computer called and information processing machine​
    6·1 answer
  • Do companies speed up internet when you run speed test
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!