Warum scheint Python =+ als gültigen Operator zu behandeln?Python

Python-Programme
Anonymous
 Warum scheint Python =+ als gültigen Operator zu behandeln?

Post by Anonymous »

Ich habe aus Versehen geschrieben:

Code: Select all

total_acc =+ accuracy
statt:

Code: Select all

total_acc += accuracy
Ich habe im Internet gesucht und konnte nichts finden. Was ist also passiert? Warum denkt Python, dass ich meine, was ich tippe?

Computer vertrauen uns zu sehr. :)

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post