+ 1
What's wrong with this code cuz I want to find 20% of 50
Bill = (50 * 20) /100 Print(float(bill))
5 Answers
+ 6
Python is a case sensitive language .
But in ur code in line 1 u have written ( Bill) but in line 2 u have written ( bill) which will cause an error.
And u have written P of print in capital but it will be in small letters.
Correct one : Bill = (50 * 20) /100
print(float(Bill))
+ 4
https://code.sololearn.com/cqmz4IVeV63q/?ref=app
See here is code which includes the changes.
And it's working without an error
+ 1
Undefined variable in line 2