Computer Science, asked by 24hallkile, 8 months ago

i need 1.7 question 1 answer it says that i have to fix this, input ("Enter a number: ")
print (num * 8)

Answers

Answered by vbk17062001
0

num = input ("Enter a number: ")

print (num * 8)

Explanation:

I hope this code is for Python programming language.

In the given code you see that the input has not been stored in the variable 'num'

The system will show an error similar to 'num' variable not found.

The corrected code is mentioned in the answer

Similar questions