Why a != b after calling a function that makes assigning (b = a)? [Python]

前端 未结 0 2039
甜味超标
甜味超标 2020-12-08 07:16

My code is like that one:

import time

def foo(a, b):
    if a != b:
        print(a)
        b_message = a

b_message = \'Nothing\'    

while True:
    a_me         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题