1.同時輸入兩個整數: >>> a,b=map(int,input().split()) 10 20 >>> a+b 30 2.輸入兩個字符串: >>> a,b=input().split() 10 20 >>> a+b '1020' 3.
確定! 回上一頁