- 博客(4)
- 收藏
- 关注
原创 素数判定python
中国移动笔试编程题1.素数判定题目描述:对于表达式n^2+n+41,当n在[x,y]范围内取整数值时,比如(-39<=x<y<=50),判定该表达式的值是否都为素数输入:输入数据有多组,每组占一行,由两个整数x,y组成。当x=0,y=0时,表示输入结束,该行不做处理输出:对于每个给定范围内的取值,如果该表达式的值都为素数,则输出"OK",否则输出“Sorry"...
2019-10-26 11:06:35
1162
转载 django新版本(2.x)踩坑记录
1、新版本urls.py不再使用正则表达式2、django2.x报错No module named 'django.core.urlresolvers'3、报错ImproperlyConfigured: Specifying a namespace in include() without providing an app_name is not supported.解决办法:在自己...
2019-07-01 20:44:46
610
转载 TypeError: view must be a callable or a list/tuple in the case of include().解决办法
1、django增加用户认证模块时,总是提醒模块的url.py中 url(r'^login/$', 'django.contrib.auth.views.login', name='login'),出错:TypeError: view must be a callable or a list/tuple in the case of include().2、折腾了很多种办法,找了很多原因,最后...
2019-07-01 20:40:32
3474
原创 Visual C++ 6.0完整绿色版下载
https://pan.baidu.com/s/1qDKJQHXf29XqxBe8hfhQaQ提取码:6bxk
2019-04-03 13:57:24
86589
49
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人