if 1==1: name = "jacky" else: name = "zhuyuanlu"
name = 值1 if 条件 else 值2 #如果这个条件成立,把值1赋值给name,如果这个条件不成立,就把值2赋值给name