有没有办法让下面列出的这个程序在旧版本的python中运行?
import webbrowser
WebCho = input("Would you like to visit the samsung site to check if you still have a warranty left for your phone: yes / no ").lower()
while WebCho == 'yes' or WebCho == 'no':
if WebCho == 'yes':
webbrowser.open("http://www.samsung.com/uk/support/")
break
if WebCho == 'no':
print ('Thanks you for visiting our trouble shooting program')
break