還有一種方法,就是使用python中字符串方法string模塊。 #-*- coding:utf-8 -*- import string #導入string這個模塊print string.digits #輸出包含數字0~9 ...
確定! 回上一頁