Answer:
. . . . . . . S H A W T Y.. . .. . .
A. Click on any cell in the row
Answer:
see explaination
Explanation:
import random
def number_guess(num):
n = random.randint(1, 100)
if num < n:
print(num, "is too low. Random number was " + str(n) + ".")
elif num > n:
print(num, "is too high. Random number was " + str(n) + ".")
else:
print(num, "is correct!")
if __name__ == '__main__':
# Use the seed 900 to get the same pseudo random numbers every time
random.seed(900)
# Convert the string tokens into integers
user_input = input()
tokens = user_input.split()
for token in tokens:
num = int(token)
number_guess(num)
line 4
if salary < 30000
error missing ":"
solution
if salary < 30000:
line 6
tax = salary * 0.2
error is missing identifier for tax
solution add identifier for tax on line 3
tax = 0.0
line 11
error syntax
solution is move tax = salary * 0.4 + 6000 to the right
tax = salary * 0.4 + 6000