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
VMariaS [17]
3 years ago
9

Can some one fix this input ("Enter a number: ") print (num * 8)

Computers and Technology
1 answer:
Kaylis [27]3 years ago
6 0
If you save the input as num,
this will print the input 8 times.

num = input("Enter a number: ")
print(num * 8)

If you want to do actual math calculations,
then the input needs to be a number.

num = float(input("Enter a number: "))
print(num * 8)

This doesn't account for any errors in which the user doesn't input a number, but I don't think that's what you were looking for anyway :)
You might be interested in
Plymouth Colony was originally founded by a group of people called Pilgrims. Since Plymouth did not have an official charter fro
quester [9]

Plymouth Colony was originally founded by a group of people called Pilgrims. Since Plymouth did not have an official charter from England, its government was based on which document? U.S. Constitution Fundamental Orders of Connecticut Articles of Confederation Mayflower Compact.

5 0
3 years ago
Please help it would mean a lot.
Lady_Fox [76]

Answer:

true i think

Explanation:

6 0
3 years ago
Read 2 more answers
Flashlights are known as which of the following
EastWind [94]
B. Battery powered lights
7 0
4 years ago
Read 2 more answers
A set of object that share a common structure and common behavior in database is called ​
Tcecarenko [31]
An Object Class. Hopefully this answer is right.
3 0
3 years ago
Which type of application architecture has a logic tier
LuckyWell [14K]

Answer:

hi

Explanation:

7 0
3 years ago
Read 2 more answers
Other questions:
  • How do all apple phones work?
    7·1 answer
  • In Linux, when logged in as a normal user with root privileges, which command must precede the apt-get command in the command li
    13·1 answer
  • The name of a Variable effects its value<br><br> True<br><br> False
    7·1 answer
  • How to find determinant of ​
    15·1 answer
  • The partners of a small architectural firm are constantly busy with evolving client requirements. To meet the needs of their cli
    11·1 answer
  • After an attacker has successfully gained remote access to a server with minimal privileges, which of the following is their nex
    15·1 answer
  • What is the command to list files in Unix and Unix like operating system?​
    15·1 answer
  • Suppose you and four of your friends are wirelessly connected with the home wireless router. [03] At this moment router is not t
    11·1 answer
  • Which Operating System is used most often in households?
    6·2 answers
  • What type of programing code do game developers use.
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!