码迷,mamicode.com
首页 > 编程语言 > 详细

python读写操作

时间:2017-08-21 20:44:28      阅读:256      评论:0      收藏:0      [点我收藏+]

标签:readline   break   std   bre   sys   ==   class   import   end   

   import sys
1
def test(): 2 a=int(input()) 3 x=[int(i) for i in input().split( )] 4 y=[int(j) for j in sys.stdin.readline().split( )] 5 for i in range(a): 6 b=sum_1(i,x)+sum_1(i,y) 7 if i==a-1: 8 print(b) 9 break 10 print(b,end= )

 

python读写操作

标签:readline   break   std   bre   sys   ==   class   import   end   

原文地址:http://www.cnblogs.com/smuxiaolei/p/7406227.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!