Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Printing googolplex
#3
The following program prints googolplex
# python 3 script to print the number googolplex
import sys
w = sys.stdout.write
f = sys.stdout.flush
s = '0' * 100

w('1')
for i in range(10**98):
    w(s)
    f()
Reply


Messages In This Thread
Printing googolplex - by ThePiMan - Apr-25-2018, 11:38 AM
RE: Printing googolplex - by mlieqo - Apr-25-2018, 12:21 PM
RE: Printing googolplex - by Gribouillis - Apr-25-2018, 04:50 PM

Forum Jump:

User Panel Messages

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