I challenged Ten minutes cording. This site,
"If you had exceeded ten minutes to write it. You can not program very"
But, I had taken about fifty minutes...
I feel to need it what more learn about Algorithm. And more faster typing.
Wrote by python.
# -*- coding: utf-8 -*- def card(play,num): lis =  stat = 0 end = len(num) / play for i in range(play): lis.append(num[stat:stat + end]) stat = stat + end return lis if __name__=='__main__': print card(3,"123123123")