Python基础语法学习完成,先刷基础题100道巩固 ,附 题目、代码、知识分析

 

题目:http://acm.sdut.edu.cn/onlinejudge2/index.php/Home/Index/problemdetail/pid/1000.html

代码:
s = input().split();
print((int)(s[0])+(int)(s[1]))

知识分析:
1、python输入 input()   
2、split() 是分割字符串操作
3、python可以用str[0] 取字符串下标为0的字符
1000、A+B Problem

相关文章:

  • 2021-08-14
  • 2021-10-14
  • 2022-12-23
  • 2022-03-09
  • 2021-09-18
  • 2022-02-08
  • 2022-12-23
  • 2021-12-23
猜你喜欢
  • 2021-12-14
  • 2021-06-03
  • 2022-02-16
  • 2022-12-23
  • 2021-08-19
  • 2021-11-12
  • 2021-09-19
相关资源
相似解决方案