The following code should take a number as input, multiply it by 8, and print the result. In line 2 of the code below, the symbol
represents multiplication.
Fix the errors so that the code works correctly:
input ("Enter a number:-)
print (num. 8)
The code above is pre-populated in your code editor.
Hint: Remember that to think about the data type that the user will input. How can you make sure that their input is entered as a
number?