从形式上看,以下python代码能够正确运行的是 A: def gcd(a,b): if b>a : a,b=b,a return b if a%b==0 else gcd(b,a%b)print(gcd(1000,750)) B: def a():print("Demo1!")a() C: def say(a_word): print(a_word)say("Hello!") D: int a(){ print("Hello ChunTian!"); return 0;}a();
从形式上看,以下python代码能够正确运行的是 A: def gcd(a,b): if b>a : a,b=b,a return b if a%b==0 else gcd(b,a%b)print(gcd(1000,750)) B: def a():print("Demo1!")a() C: def say(a_word): print(a_word)say("Hello!") D: int a(){ print("Hello ChunTian!"); return 0;}a();
1