Help with this code please :)
Fellow Programmers :) I am in need to get this code right and running. I need to compare 2 items and display which one is the most efficient one here is my code please help any way you can or point me in the right direction What am I doing wrong? import math def shape_volume(the_shape): if the_shape == 'round': the_radius = float(input("Please enter the sphere's radius: ")) shape_volume = (4 / 3) * math.pi * (the_radius ** 3) elif the_shape == 'square': the_height = float(input('Please enter the height of the Basket: ')) the_width = float(input('Please enter the width of the Basket: ')) shape_volume = the_height * the_width return shape_volume first_item = input('Enter the shape of Basket 1 (either square or round): ') the_price = input('Enter the price of Basket 1: ') the_size = input('Enter the size of Basket 1: ') first_volume = shape_volume(first_item) second_item = input('Enter the shape of Basket 2 (either square or round): ') the_price = input('Enter the price of Basket 2: ') the_size = input('Enter the size of Basket 2: ') second_volume = shape_volume(second_item) print('Basket ' ' is the most efficient: '+str(first_volume+second_volume))