Python Forum
how do I show 12 numbers from a huge number?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how do I show 12 numbers from a huge number?
#28
(Sep-10-2019, 11:22 AM)jefsummers Wrote: BTW - for "fun" I did my method of treating each digit as an element in a list, ran it in IDLE, Python 3.7, on a core i7 3.4GHz 16gig machine over the weekend. In 72 hours it got to about the 3.5 millionth power. Unfortunately it needs to get to the 17 billionth. Since by necessity it runs progressively slower (more digits to multiply) this method would not be done by December!
Again for fun I'm running overnight using iPython and numpy to see if that speeds things up, same computer.
J
What code did you use for this?
Reply


Messages In This Thread
RE: how do I show 12 numbers from a huge number? - by anabeatriz - Sep-10-2019, 11:29 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Random Generator: From Word to Numbers, from Numbers to n possibles Words Yamiyozx 2 1,526 Jan-02-2023, 05:08 PM
Last Post: deanhystad
  Convert list of numbers to string of numbers kam_uk 5 3,134 Nov-21-2020, 03:10 PM
Last Post: deanhystad
  Divide a number - Multiple levels - Sum of all numbers equal to input number pythoneer 17 9,052 Apr-20-2018, 04:07 AM
Last Post: pythoneer
  Trying to get the week number from a string of numbers fad3r 2 3,301 Apr-15-2018, 06:52 PM
Last Post: ljmetzger
  Regular Expressions in Files (find all phone numbers and credit card numbers) Amirsalar 2 4,188 Dec-05-2017, 09:48 AM
Last Post: DeaD_EyE

Forum Jump:

User Panel Messages

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