Skip to content

Qbin/python_tips

Repository files navigation

python_tips

some tips about python

dynamically get result of expressions(动态获取表达式的结果)

dynamically_get_result_of_expressions.py

get non-repeating random numbers(integer)(获得不重复随机数,如:24点游戏)

get_non_repeating_random_numbers.py ps: you can do 24 point game by get_non_repeating_random_numbers(1,13,4)

lru_cache(缓存函数和最近一次的参数)

lru_cache_test.py

About

some tips about python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages