关于number_format()函数使用不正确的是()
A: number_format("1000000")
B: number_format("1000000",2)
C: number_format("1000000",2,",")
D: number_format("1000000",2,",",".")
A: number_format("1000000")
B: number_format("1000000",2)
C: number_format("1000000",2,",")
D: number_format("1000000",2,",",".")
举一反三
- In MLA format, the page number should always be included within the text for reference no matter it is an indirect or direct quote.
- 下面关于format()的使用,错误的是( )。 A: "{0:M^10.3f}".format(5985.7380) B: "{0:.2d}".format(452.6570) C: "{0:.3}".format("Good") D: "{0:3}".format(1234)
- 下列表达式可以作为判断一个整数number为奇数的是() A: number // 2 == 1 B: number // 2 == 0 C: number % 2 == 1 D: number / 2 == 1
- Which of the followings are mentioned in the format types of invitation letter in this lesson? A: Block format B: Modified format C: Small format D: Big format
- 设str = '吵=口+少',输出结果为“吵口少”的print语句是:() A: print('{}'.format(str[::2])) B: print('{}'.format(str[::-1])) C: print('{}'.format(str[::])) D: print('{}'.format(str))