Replacing in Python
<p>I need to complete a basic task on Python that requires me to convert a standard phone number into an international one.</p>

<p>So for example, if the users phone number was <code>0123456789</code>, the program should display, <code>Your international phone number is +44123456789.</code></p>

<p>I don't know how to <code>replace</code> the <code>0</code> with a <code>44</code>. I don't know many techniques on Python so advice on how to is welcomed, thanks.</p>

<p>EDIT:</p>

<pre><code>    #Python Number Conversion
def GetInternational(PhoneNumber):
    if num.startswith('0'):
        num = num.replace('0','+44',1)
        return GetInternational

PhoneNumber = input("Enter your phone number: ")
print('Your international number is',GetInternational,'')
</code></pre>

<p>I'm missing something obvious but not sure what...</p>
