+ 2
What's wrong here?
bill=int(input()) x=20 y=100 tip =(bill*20/100) print=(tip)
2 Respostas
+ 1
------------------
bill = int(input())
x = 20
y = 100
tip = bill * x/y
print(tip)
------------------
Notes:
- When you declare a variable (x & y), you need to use it instead of keeping it in your code. Instead of writing "20 / 100" write "x / y".
- Whenever you're using a function, do not use "=" just write the function, open parentheses and write your parameters.