Python編程-字符串練習(判斷迴文數)

1.題目要求: 2. 程序內容: a=(input('請輸入數字:')) if a==a[::-1]: print('這是迴文數') else: print('這不是迴文數') 執行結果:
相關文章
相關標籤/搜索