if statements elif grade>= print' 'elseprint' 'with the separate if statementseach condition is checked regardless of whether it really needs to be that isif the score is the first program will print an but then continue on and check to see if the score is bcetc which is bit of waste using elifas soon as we find where the score matcheswe stop checking conditions and skip all the way to the end of the whole block of statements an added benefit of this is that the conditions we use in the elif statements are simpler than in their if counterparts for instancewhen using elifthe second part of the second if statement conditiongrade< becomes unnecessary because the corresponding elif does not have to worry about score of or aboveas such score would have already been caught by the first if statement you can get along just fine without elifbut it can often make your code simpler exercises write program that asks the user to enter length in centimeters if the user enters negative lengththe program should tell the user that the entry is invalid otherwisethe program should convert the length to inches and print out the result there are centimeters in an inch ask the user for temperature then ask them what unitscelsius or fahrenheitthe temperature is in your program should convert the temperature to the other unit the conversions are and ( ask the user to enter temperature in celsius the program should print message based on the temperatureif the temperature is less than - print that the temperature is invalid because it is below absolute zero if it is exactly - print that the temperature is absolute if the temperature is between - and print that the temperature is below freezing if it is print that the temperature is at the freezing point if it is between and print that the temperature is in the normal range if it is print that the temperature is at the boiling point if it is above print that the temperature is above the boiling point write program that asks the user how many credits they have taken if they have taken or lessprint that the student is freshman if they have taken between and print that they are sophomore the range for juniors is to and for seniors it is and over