原创 python中關於字典

ab = { 'Swaroop' : '[email protected]', 'Larry' : '[email protected]', 'Ma

原创 在 mac 上使用 Git 和 GitHub 連接

記得之前寫過一篇 win 下面使用 Git 的文章,今天寫下一篇在 mac 下面的。 ###首先,需要在 mac 下安裝 git. mac git 的地址: http://code.google.com/p/git-osx-inst

原创 關於輸出菱形

#include <iostream> using namespace std; void Diamond(int n,int i); int main() { Diamond(5,0); return 0; } void

原创 關於一個分解質因數的問題

用的是pythondef Factorizations(number): ls = [] i = 2 while True: if number%i==0:

原创 python中的最大公約數

def showMaxFactor(num) count = num//2: while count>1: if num%count == 0 print('

原创 關於python的一個問題

# 輸入某年某月某日,判斷這一天是這一年的第幾天? year = int(input('please input the year:')) month = int(input('please input the month:')) da

原创 STK Tutorial

1、創建43輔助方案 這個方案是STK最具有難度的方案,其中包括一個或者多個地圖模型和其他的一些STK元素,比如說衛星、工具之類,經過本章的輔助引導能夠幫助你穿線盒使用你的方案。 1.1 啓動STK 方案管理界面應當出現在STK的主界面。