+ 2

Give me exercises!!

I would like to train my Python skills.Can someone give me some exercises please?( beginner-intermediate level ) I will post the codes on SoloLearn when I can.Currently I have no Wi Fi at home.

18th Jul 2017, 4:51 PM
PierX
PierX - avatar
7 Respuestas
18th Jul 2017, 4:54 PM
David Ashton
David Ashton - avatar
+ 5
codewars.com
18th Jul 2017, 4:56 PM
Maya
Maya - avatar
+ 3
Just search google
18th Jul 2017, 5:57 PM
LordGhostX
LordGhostX - avatar
+ 2
@Immortal I prefer PDF collection.Anyway,Thanks you all for the answers!
18th Jul 2017, 5:01 PM
PierX
PierX - avatar
0
Build the following: >Queue (fifo protocol) >>>Its like a real life lineup at a store or coffee shop. Usual methods are: >>>create () >>>is_empty () >>>enqueue () >>>dequeue () >Stack (lifo protocol) >>>Think of this as a stack of plates for dishes. You add on top of a pile, and you can only take off the top. Usual methods are: >>>create () >>>is_empty () >>>push () >>>pop () >import stack, and build a queue with it. >>>even though both do different things slightly. You can make a stack do the same thing as a queue (without modifying your stack.py). hint: using a dictionary with two stacks. These help you understand some concepts in ADT (abstract data type). If you need help understanding these or the question (s), post back.
18th Jul 2017, 5:02 PM
Sapphire