下面那个程序代码是正确的_________
A: print("Programming is fun") print("Python is fun")
B: print("Programming is fun")print("Python is fun")
C: print("Programming is fun)print("Python is fun")
D: print("Programming is fun)print("Python is fun")
A: print("Programming is fun") print("Python is fun")
B: print("Programming is fun")print("Python is fun")
C: print("Programming is fun)print("Python is fun")
D: print("Programming is fun)print("Python is fun")
举一反三
- 下面那个程序代码是正确的_________ A: print("Programming is fun") print("Python is fun") B: print("Programming is fun")print("Python is fun") C: print("Programming is fun)print("Python is fun") D: print("Programming is fun)print("Python is fun")
- 不够输出20个星号的语句是( )。知识点:字符串的复制 A: print("********************") B: print("*"*20) C: print(20*"*") D: print(20+"*")
- Python 语言中,以下表达式输出结果为11的选项是( )。 A: print("1+1") B: print(eval("1+1")) C: print(eval("1" + "1")) D: print(1+1)
- 以下哪个Python程序能成功运行: A: a=int(input("请输入一个整数:"))if a>0: print(a)else: print(-a) B: a=int(input("请输入一个整数:"))if a>0:print(a)else:print(-a) C: a=int(input("请输入一个整数:"))if a>0 print(a)else print(-a) D: a=int(input("请输入一个整数:"))if a>0: print(a)else a<0: print(-a)
- 设变量a=15.69458能够输出: RMB15.69 的是()。 A: print("RMB{:.2f}".format(a)) B: print("RMB"+str(a)) C: print("RMB",a) D: print("RMB{}".format(a))