摘要:
using System; using System.Math; namespace PiWithMonteCarlo { /// <summary> /// Trivial, synchronous calculation algorithm /// </summary> public stati 阅读全文
摘要:
Git的一些资料 --关于git的介绍就此忽略了 Git官网http://git-scm.com/ Visual Studio Tools for Git下载地址https://visualstudiogallery.msdn.microsoft.com/abafc7d6-dcaa-40f4-8a5 阅读全文
摘要:
vim的三种模式: 常规模式(命令模式)也是默认模式,从其它模式进行命令模式按esc i 在光标前插入文本 o 命令是指在当前行下方插入新行 dd 是删除光标所在的整个一行 yy 是在光标所在整个放入缓冲区,多行的话,先按一个行数n p 是将缓冲区内的内容插入到光标位置后 u 是撤销上一个动作 r 阅读全文
摘要:
引入线程包或者命名空间import threading 一:建立一个简单的线程程序 import time, threadingdef test(): print('thread %s is running...' % threading.current_thread().name) n = 0 w 阅读全文
摘要:
#1. 打印字符串print ("His name is %s"%("Aviad"))#2.打印整数print ("He is %d years old"%(25))#3.打印浮点数print ("His height is %f m"%(1.83))#4.打印浮点数(指定保留小数点位数)print 阅读全文