Selection = input("Please Tell for which type of Triangle you would like to calculate Perimeter. For Equilateral Triangle, type Equilateral... For Isosceles Triangle, type Isosceles... For Scalene Triangle, type Scalene")
if Selection == "Equilateral" : 
    a = int(input("Please enter one of the Side of the Equilateral Triangle"))
    b = (a*3)/2
    print("The Semi-Perimeter of the Equilateral Triangle is in Centemeter is ", b)
elif Selection == "Isosceles" : 
    c = int(input("Please Enter the length of Side in Centemeter "))
    d = int(input("Please Enter the length of last Side in Centemeter"))
    e = (2*c + d)/2
    print("The Semi-Perimeter of Isosceles Triangle is ", e)
elif Selection == "Scalene" : 
    f = int(input("Please Enter the Length of Side 1: "))
    g = int(input("Please Enter the Length of Side 2"))
    h = int(input("Please Enter the Length of Side 3"))
    i = (f+g+h)/2
    print("The Semi-Perimeter of Scalene Triangle is ", i )
else : 
    print("Invalid Input. Please check whether you have entered the Name of the Triangle correctly and try again. Note that the name of the Triangle that you input is CASE SENSITIVE")