# a = input()
# b = input()
# print(a , b)
# 从一行内获取多个数据

# a = input()
# b,c = a.split()
#使用 空格 分隔 字符串
# b,c = input().split(",")
# b = int(b)
# c = int(c)
# b,c = map(int, ["123","456"])
# b,c=map(int,input().split(","))

txt = input().split(",")
b,c = map(int ,txt)


print("b=",b,type(b))
print("c=",c,type(c))

8 条评论

  • @ 2023-11-18 20:54:31
    a,b = map(int,input().split())
    c=a
    d=b
    c=c+d
    d=c-d
    c=c-d
    print(c,d)
    
    • @ 2023-10-28 21:12:17
      PI = 3.1415926
      t = 56.789
      print("PI=",PI)
      print("%.3f - %.2f" %(PI,t))
      
      name = '张三'
      age = 22
      m = 2.34
      #格式化"张三今年22岁,今天有零钱2.34元"
      print("%s今年%d岁,今天有零钱%.2f元" % (name,age,m))
      print("{}今年{}岁,今天有零钱{}元".format(name,age,m))
      print("{0}今年{1}岁,今天有零钱{2}元".format(name,age,m))
      
      print(f"{name}今年{age}岁,今天有零钱{m}元")
      
      • @ 2023-10-28 21:11:55
        name="张三"
        age=22
        m=2.34
        print("%s今年%d岁,今天有零钱%.2f"  % (name,age,m))
        print("{}今年{}岁,今天有零线{}".format(name,age,m))
        print("{0}今年{1}岁,今天有零线{2}".format(name,age,m))
        
        print(f"{name}今年{age}岁,今天有零线{m}")  #format
        
        • @ 2023-10-28 21:10:20
          PI = 3.1415926
          t = 56.789
          print("PI=",PI)
          print("%.3f - %.2f"  %(PI ,t))
          
          name = '张三'
          age = 22
          m = 2.34
          # "张三今年22岁,今天有零钱2.34元"
          print("%s今年%d岁,今天有零钱%.2f"  % (name,age,m))
          print("{}今年{}岁,今天有零线{}".format(name,age,m))
          print("{0}今年{1}岁,今天有零线{2}".format(name,age,m))
          
          print(f"{name}今年{age}岁,今天有零线{m}")  #format
          
          • @ 2023-10-28 20:41:05
            # a=input()
            # b,c = a.split()
            # b,c= input().split()
            # b,c=map(int,input().split())
            txt=input().split
            print("b=",b,type(b))
            print("c=",c,type(c))
            
            
          • @ 2023-10-28 20:40:54

            解脱者(R)准备就绪

            # a = input()
            # b = input()
            # print(a , b)
            # 从一行内获取多个数据
            
            # a = input()
            # b,c = a.split()
            #使用 空格 分隔 字符串
            # b,c = input().split(",")
            # b = int(b)
            # c = int(c)
            # b,c = map(int, ["123","456"])
            # b,c=map(int,input().split(","))
            
            txt = input().split(",")
            b,c = map(int ,txt)
            
            
            print("b=",b,type(b))
            print("c=",c,type(c))
            
            • @ 2023-10-28 20:40:25
              # a = input()
              # b,c = a.split()
              # b,c = input().split(",")
              
              txt = input().split(",")
              b,c = map(int ,txt)
              
              
              print("b=",b,type(b))
              print("c=",c,type(c))
              
              
              • @ 2023-10-28 20:40:11
                b,c = input().split(",")
                b,c = map(int,["123","456"])
                print(b,c)
                
                • 1