我試圖用random.randint隨機生成一個單獨的int。 randint(-2,2),但是,它可能會生成0,這不是預期的,所以我想知道有沒有辦法使它不等於0。或者只是使用一個循環, ...
確定! 回上一頁