Giter VIP home page Giter VIP logo

test_python's Introduction

test_python

dirct.py

中文转化为拼音
python dirct.py -i \{1:\"我是\",2:\"是我\",3:\"你好\"\}

print_cv.py

打印关键字的内容
python print_cv.py -c "1 3"

打印出去某些关键字的其他内容
python print_cv.py -v "3 1"

monkey.py

猴子吃桃子的问题
第10天吃之前剩下1个桃子: python monkey.py -n 10 -x 1

sqrt_num.py

完全平方数
数字[1, 1000]中,符合条件的数:python sqrt_num.py -b 1 -e 1000

box_open_or_close.py

储物柜状态问题
python box_open_or_close.py

qipan_recover.py

翻转后的棋盘
初始棋盘状态为: [[0,0,1,1],[1,0,1,0],[0,1,1,0],[0,0,1,0]]
翻转位置为: [[2,2],[3,3],[4,4]]
python qipan_recover.py -A \[\[0,0,1,1\],\[1,0,1,0\],\[0,1,1,0\],\[0,0,1,0\]\] -f \[\[2,2\],\[3,3\],\[4,4\]\]

num_of_1.py

1 的个数
求出从 1 到 N 的所有整数中出现 “1” 的个数
N = 12 时, python num_of_1.py -N 12

paixu.c

所有小写字母排在大写字母之前,大小写字母不要求保持原来的次序
尽量选择时间爱你和空间效率高的算法
gcc paixu.c -o paixu
./paixu

test_python's People

Contributors

nancy921201 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.