Type/to search
0
Follow
0
Followers
Por favor denme algún consejo, el código se ejecuta y aparece el siguiente error en la instancia principal AttributeError: ooOooo000oOO no tiene atributo '**getitem**'
FAQ
Created 2018-06-17 14:51:59  
 1
 1701

def main():
action = "Buy"
_C(exchange[action],-1,0.01)

¿No se puede escribir así en la factura?

img

¿Cómo funciona esto?

Related Recommendations
Comment
All comments (1)

    JS 可以这样调用 , python 不行, python 的 exchange["Buy"] 是 未定义的。

    8 years ago
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)