Type/to search
0
Follow
0
Followers
Bitte geben Sie mir einen Rat, der Code wird ausgeführt und der folgende Fehler tritt im Haupt-AttributeError auf: ooOooo000oOO-Instanz hat kein Attribut '**getitem**'
FAQ
Created 2018-06-17 14:51:59  
 1
 1701

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

Kann man das nicht auf der Rechnung schreiben?

img

Wie kann das funktionieren?

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)