此文目標讀者需先自行學會
- 開 Github 帳號
- 會 fork 程式 repository
- 會在自己的電腦使用命令列
git - 會 clone 自己的 repository
| #!/usr/bin/env python3 | |
| # -*- coding:utf-8 -*- | |
| import random | |
| for num in range(50): | |
| a = random.randint(111,999) | |
| b = random.randint(111,999) | |
| print ("%d×%d=" %(a, b)) |
| #include <stdio.h> | |
| #include <string.h> | |
| int main(int argc, char *argv[]) | |
| { | |
| /* Real file path */ | |
| char *filepath = argc[argv-1]; | |
| /* check .txt file */ | |
| char *type = &filepath[strlen(filepath) -4]; |