摘要:
import java.io.IOException; public class Test { public static void main (String[] args) throws IOException { char a = (char) System.in.read(); //默认接受i 阅读全文
posted @ 2020-05-20 17:03
profesor
阅读(197)评论(0)推荐(0)
摘要:
public class getchar { public static void main(String[] args) throws java.io.IOException //必不可少 { int num = System.in.read(); //读进来的数,默认保存为整数,如果需要输出 刚 阅读全文
posted @ 2020-05-18 09:30
profesor
阅读(945)评论(0)推荐(0)
摘要:
list comprehension: my_list = [num*num for num in range(1,11)] print(my_list) if使用 my_list = [num for num in range(1,11) if num > 5] print(my_list) if 阅读全文
posted @ 2020-05-16 23:38
profesor
阅读(199)评论(0)推荐(0)