num = input("請輸入一的幸運數字:") print("您的幸運數字是: " + num). 請輸入一的幸運數字:5 您的幸運數字 ... x = 'Python' y = 10 z = x + y #字串+整數 print(z).
確定! 回上一頁