Python - Easy - TypeError: can't multiply sequence by non-int of type 'float'
<p>I am trying to create a program to do the Sine Rule, but I get the error above, I have checked to other questions but I can't make sense of it.</p>

<pre><code>    import math
    PI = math.pi
    x = raw_input ("To get length please enter 1, to get angle please enter 2 : ")
    while x:

    if x == "1":
        print ("This is to find a length using the Sine Rule")
        A= str(raw_input ("what is angle A?  "))
        a= str(raw_input ("what is length a?  "))
        B= str(raw_input ("what is angle B?  "))

        b = (a / math.sin((PI/180)*A)) * (math.sin((PI/180)*B))
        print (' your answer is : ', b ,'cm')
        raw_input ("press &lt;enter&gt; to end")

    if x == "2":
        print ("This is to find an angle using the Sine Rule")
        A= float(raw_input ("what is angle A?  "))  
        a= raw_input ("what is length a?  ")
        b= raw_input ("what is length b?  ")

        B = ( math.sin((PI/180)*A) / a) * b
        print (' your answer is : ', B ,'degrees')
    raw_input ("press &lt;enter&gt; to end")
</code></pre>
