quilt_width=8
quilt_width*3
print(quilt_width)
Why does not Python print 24?
quilt_width=8
quilt_width*3
print(quilt_width)
Why does not Python print 24?
In the way you are doing it it will give 8 because you print quilt_width
that’s equal to 8. To give you 24 you need do that:
quilt_width=8
response = quilt_width * 3
print(response)
or you can try this
quilt_width=8
quilt_width*=3
print(quilt_width)