摘要:
#include <stdio.h> #include <string.h> struct data {char name[7];int age;} ab[5]={"张三",10,"李四",11,"张五",12,"李六",13,"陈七",14}; //编程将数组中所有姓张的年龄增加1,姓李的增加2, 阅读全文
摘要:
#include <stdio.h> struct data {char name[7];int age;} ab[5]={"张三",10,"李四",11,"张五",12,"李六",13,"陈七",14}; //编程将数组中所有姓张的年龄增加1,姓李的增加2,然后输出各个人的姓名与年龄 //中文字符 阅读全文
摘要:
>>> import ast >>> aar='{"ab":1,"ac":2,"ad":3}' >>> aaxx=ast.literal_eval(aar) >>> aaxx {'ab': 1, 'ac': 2, 'ad': 3} >>> >>> aar='{"ab":1,"ac":2,"ad":3 阅读全文