Python Forum
Multiplying number in a list in an order
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiplying number in a list in an order
#11
yeah, it's very neat and is optimized for such operations
from docs:
Quote:Deques are a generalization of stacks and queues (the name is pronounced “deck” and is short for “double-ended queue”). Deques support thread-safe, memory efficient appends and pops from either side of the deque with approximately the same O(1) performance in either direction.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
RE: Multiplying number in a list in an order - by buran - Mar-22-2018, 06:50 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  list digit into number Voldyy 2 1,602 Jul-10-2022, 06:13 PM
Last Post: deanhystad
  Displaying list correspond to the column number danlopek14q 9 4,087 Aug-27-2021, 04:32 AM
Last Post: naughtyCat
  How to convert every even number in a list to odd? Bruizeh 4 3,849 Aug-27-2021, 03:04 AM
Last Post: naughtyCat
  sorting a list using unicodes acending order, no loops, no sort(), using recursion lrn2codee 14 6,576 Jun-23-2021, 07:33 PM
Last Post: deanhystad
  Get the biggest number from a two dimensional list rs74 13 4,150 Aug-09-2020, 04:02 PM
Last Post: deanhystad
  How can I print the number of unique elements in a list? AnOddGirl 5 3,345 Mar-24-2020, 05:47 AM
Last Post: AnOddGirl
  Appending to a list in the right order Noobstudent 2 2,357 Dec-07-2019, 10:39 PM
Last Post: Noobstudent
  adding a number to the list atux_null 4 3,961 Nov-06-2017, 07:01 PM
Last Post: gruntfutuk
  Determine if a list contains a specific number of an item flannel_man 3 4,974 Nov-12-2016, 04:46 PM
Last Post: micseydel

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020