我在一个TypeScript应用程序中使用了stripe,我读到过可以使用如下的语言环境设置stripe变量:var stripe = Stripe('pk_test', {locale: 'en'});,但是如果我想在初始化后更改语言,我就不能这样做了……我想创建一个新的stripe变量实例,但是库显示:IntegrationError: Please use the same instance那么,我需要在运行时更改语言环境吗
我试着用替换来消除空白,但它不起作用。我做错什么了?list = ('255 +1', '282 +5', '255 + 3', '5 - 2',)
# seperating the numbers in to a list #getting rid of white space in list num.replac