在 Python 中使用大写字母和数字随机生成字符串
I want to generate a string of size N.
It should be made up of numbers and uppercase English letters such as:
- 6U1S75
- 4Z4UKK
- U911K4
How can I achieve this in a pythonic way?
转载于:https://stackoverflow.com/questions/2257441/random-string-generation-with-upper-case-letters-and-digits-in-python
谁还没个明天
2010/02/13 12:23- random
- python
- string
- 点赞
- 收藏
- 回答
满意答案