Python練習

Hello World! print('hello world!') 簡單交互(交互式,文件式)教材P19 name = input("輸入姓名:") print("{}同學,學好Python,前途無量!".format(name)) 用戶輸入兩個數字,計算並輸出兩個數字之和: a = float(input('輸入第一個數字:')) b = float(input('輸入第二個數字:')) s
相關文章
相關標籤/搜索