My issue
How to solve it
My code
# Update your code below this line
s=14
area=14*14
cost=7
print("area")
print("cost")
Learning course: Python Programming
Problem Link: Cost of painting Practice Problem in Python Programming - CodeChef
How to solve it
# Update your code below this line
s=14
area=14*14
cost=7
print("area")
print("cost")
Learning course: Python Programming
Problem Link: Cost of painting Practice Problem in Python Programming - CodeChef
How to solve it
Here is corrected version of your code
s = 14
area = s*s
cost = area*7
print(area)
print(cost)
There is a mistake in your code i have given you the corrected version of code .The mistake you made is you have written area and cost in quotes while printing it .Anything in quotes either single or double becomes a string data type in python .In your code you are printing string and not Variable area and cost .