j = 1 # -1 num1 = 0 #1-3 for i in range(1,100,2): num1 += j * i # -3 j = j * -1 # 1 print(num1) sum1 = 0 count = 1 for el in range(1,100,2): if el % 4 == 1: sum1 += el else: sum1 -= el print(sum1) print(el,end=" ") if count % 2 == 1: sum1 += el
Fix catalyst driver in Ubuntu 13.04 / 13.10(墙外文章备份) 1. Introduction I found lots of people struggling to get catalyst driver work in Ubuntu 13.04. This issue has been persistent for some laptops, ever since Ubuntu 13.04 came out, specially for Intel,
[原文]http://www.tuicool.com/articles/goto?id=myM7veR I had updgraded my Ubuntu from 13.04 to 13.10 last week and everything went quite good. The only problems that I faced as developer are: Apache 2.4 was not working with default previous installation
MacBook Air 13, Dell XPS 13 和 Thinkpad X1 Carbon 都是轻薄笔记本中设计优秀的典范,受到很多用户追捧. 不过对于 Windows 阵营的笔记本,最近有个坏的传言:Intel 7 系列 CPU 只支持 Windows 10 系统,不支持 Windows 7 和 Windows 8.为了确认这个消息的真伪,笔者特意调查了一下各厂商的驱动下载支持页面.Intel 官网的最新驱动仍然支持各种操作系统,但是部分笔记本厂商已经开始不提供 Windows 7 的整