Groups
Groups
Sign in
Groups
Groups
python-cn-free(中文python邮件列表)
Conversations
About
Send feedback
Help
请教: 如何用python通过两个线程区分奇数和偶数
37 views
Skip to first unread message
Zoe Wendy
unread,
Jun 13, 2013, 11:00:05 AM
6/13/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to python-...@googlegroups.com
实现一个线程不断生成一个随机数到一个队列中(考虑使用Queue这个模块)
实现一个线程从上面的队列里面不断的取出奇数
实现另外一个线程从上面的队列里面不断取出偶数
stduolc
unread,
Apr 12, 2018, 3:51:21 AM
4/12/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to python-cn-free(中文python邮件列表)
你为什么不两个线程随机生成奇数和偶数?
在 2013年6月13日星期四 UTC+8下午11:00:05,Zoe Wendy写道:
实现一个线程不断生成一个随机数到一个队列中(考虑使用Queue这个模块)
实现一个线程从上面的队列里面不断的取出奇数
实现另外一个线程从上面的队列里面不断取出偶数
Reply all
Reply to author
Forward
0 new messages