[python]特殊输入格式(输入中包含空格逗号等)

时间:2019-01-24 19:57:04   收藏:0   阅读:579

      a,b=map(int,input().split())

      a,b,c=map(int,input().split())

      a,b=map(int,input().split(‘/‘))

      a,b=map(int,input().split(‘,‘))

原文:https://www.cnblogs.com/xzzheng/p/10316428.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!