____  ___    _  _     _   _ _____     _______
 / ___|/ _ \  | || |   | | | |_ _\ \   / / ____|
| |  _| | | | | || |_  | |_| || | \ \ / /|  _|
| |_| | |_| | |__   _| |  _  || |  \ V / | |___
 \____|\___/     |_|   |_| |_|___|  \_/  |_____|

 --- A GOPHER-LIKE INTERFACE FOR HIVE BLOCKCHAIN ---

python daily question每日一题 (#1)

BY: @cynthialee | CREATED: March 6, 2018, 2:08 p.m. | VOTES: 1 | PAYOUT: $0.00 | [ VOTE ]

欢迎来python每日一题来测试你对python基础知识的掌握 : ) ,问题都不难,不过大意或者对知识点模糊还是会出现错误~
Welcome to python daily question to consolidate the basics of python. Questions aren't complex but you may make mistakes.

下列哪个语句在python中是非法的,假设事先定义了x=0,y=0,z=0?
A. x = y = z = 1
B. x = (y = z + 1)
C. x, y = y, x
D. x += y

Which of the following statement is illegal in python, assume that x=0, y=0 , z=0first?
A. x = y = z = 1
B. x = (y = z + 1)
C. x, y = y, x
D. x += y

TAGS: [ #python ] [ #programming ] [ #cn ] [ #daily-question ]

Replies

@cynthialee | March 6, 2018, 2:20 p.m. | Votes: 0 | [ VOTE ]

大家可以回复自己的想法,我会在第二天公布答案和解释~
I will give the answer and explanation the next day~

[ BACK TO TRENDING ] [ BACK TO MENU ]
CMD>