题目内容
(请给出正确答案)
[单选题]
在一个同时包含整数和浮点数的表达式中,Python要进行的转换是
A.浮点数转换为整数
B.整数转换为浮点数
C.浮点数和整数转换为字符串
D.整数转换为字符串
答案
查看答案
A.浮点数转换为整数
B.整数转换为浮点数
C.浮点数和整数转换为字符串
D.整数转换为字符串
第4题
(1) +1.5 (2) -10.625 (3) +100.25 (4) -1200
第7题
#include<stdio.h>
main()
{char*p,s[6];
int n;
p=s;
gets(p);
n=*p-'0';
while(______!='\0')
n=n*8+*p-'0';
printf("%d\n",n);
}
第9题
A.②和④
B.①和②
C.①和④
D.③和④