ord("c")-ord("a")的值为2。
ord("c")-ord("a")的值为2。
设字符串变量p的值是一个大写字符,下列哪个表达式可以把p变成对应的小写字母? A: chr(p - A + a) B: chr(p) - chr(A)+chr(a) C: ord(p)-ord(A)+ord(a) D: chr(ord(p)-ord(A)+ord(a))
设字符串变量p的值是一个大写字符,下列哪个表达式可以把p变成对应的小写字母? A: chr(p - A + a) B: chr(p) - chr(A)+chr(a) C: ord(p)-ord(A)+ord(a) D: chr(ord(p)-ord(A)+ord(a))
关于ord()函数,有下面代码:>>>ord('a')-ord('A')其运行结果是( )。 A: -32 B: 出错 C: 0 D: 32
关于ord()函数,有下面代码:>>>ord('a')-ord('A')其运行结果是( )。 A: -32 B: 出错 C: 0 D: 32
以下结构体定义错误的是 A: struct ord {int x; int y} struct ord a; B: struct ord {int x; int y} ; struct ord a; C: struct ord {int x; int y} a; D: struct {int x; int y} a;
以下结构体定义错误的是 A: struct ord {int x; int y} struct ord a; B: struct ord {int x; int y} ; struct ord a; C: struct ord {int x; int y} a; D: struct {int x; int y} a;
下面结构体的定义语句中,正确的是( ) A: struct { int x; int y; int z;}ord;struct ord a; B: struct { int x; int y; int z;}ord;ord a; C: struct ord{ int x; int y; int z;};struct ord a; D: struct { int x, int y, int z;}a;
下面结构体的定义语句中,正确的是( ) A: struct { int x; int y; int z;}ord;struct ord a; B: struct { int x; int y; int z;}ord;ord a; C: struct ord{ int x; int y; int z;};struct ord a; D: struct { int x, int y, int z;}a;
下列代码执行结果是()。s1,s2,s3=’ABC’print(ord(s2)-ord(s1)+ord(s3)) A: 报错 B: 4 C: 66 D: 68
下列代码执行结果是()。s1,s2,s3=’ABC’print(ord(s2)-ord(s1)+ord(s3)) A: 报错 B: 4 C: 66 D: 68
信用证规定“SHIPMENTTOBEBFFECTEDONORABOUTAUGUST25,2006;DOCUMENTSREQUIRED:AWBCONSIGNEDTOTHEAPPLICANT”没有其他特别要求。空运单显示正确的是()。 A: ISSUINGDATE:AUG30,2006,FLIGHTDATE:AUG31,2006 B: ISSUINGDATE:AUG18,2006,FLIGHTDATE:AUG25,2006 C: ISSUINGDATE:AUG18,2006,FLIGHTDATE:AUG19,2006 D: ISSUINGDATE:AUG20,2006,FLIGHTDATE:AUG31,2006
信用证规定“SHIPMENTTOBEBFFECTEDONORABOUTAUGUST25,2006;DOCUMENTSREQUIRED:AWBCONSIGNEDTOTHEAPPLICANT”没有其他特别要求。空运单显示正确的是()。 A: ISSUINGDATE:AUG30,2006,FLIGHTDATE:AUG31,2006 B: ISSUINGDATE:AUG18,2006,FLIGHTDATE:AUG25,2006 C: ISSUINGDATE:AUG18,2006,FLIGHTDATE:AUG19,2006 D: ISSUINGDATE:AUG20,2006,FLIGHTDATE:AUG31,2006
下列代码执行结果是()。s1,s2,s3=’ABC’print(chr(ord(s2)-ord(s1)+ord(s3))) A: D B: E C: C D: B
下列代码执行结果是()。s1,s2,s3=’ABC’print(chr(ord(s2)-ord(s1)+ord(s3))) A: D B: E C: C D: B
以下结构体的定义语句中,错误的是_____ A: struct ord{ int x; int y; int z;};struct ord a; B: struct ord{ int x; int y; int z;}struct ord a; C: struct ord{ int x; int y; int z;}a; D: struct{ int x; int y; int z;}a;
以下结构体的定义语句中,错误的是_____ A: struct ord{ int x; int y; int z;};struct ord a; B: struct ord{ int x; int y; int z;}struct ord a; C: struct ord{ int x; int y; int z;}a; D: struct{ int x; int y; int z;}a;
下列内置函数中,结果不为数值的是 A: eval('56*2') B: ord("T") C: ord("字") D: chr(98)
下列内置函数中,结果不为数值的是 A: eval('56*2') B: ord("T") C: ord("字") D: chr(98)