Informatics Practices
Related Questions
Modify the above function to take a third parameter called shape type. Shape type should be either triangle or rectangle. Based on the shape, it should calculate the area.
Formula used: Rectangle Area = length * widthWrite a function that takes amount in dollars and performs dollar-to-rupee price conversion; it then displays the amount converted to rupees.
What is the error in the following code?
z, p = 6Find out the error(s) in following code fragment:
temperature = 90 print temperature