- #1
Cash Fulton
- 24
- 1
I was bored so I made this:
print("Object vs. Planck Length")
print("How long is the object in meters?")
obj = int(input())
result = obj - 0.000000000000000000000000000000000016162
print("1 Planck length is " + str(result) + " meters smaller than that object.")
Problem is that the decimal doesn’t carry all the way to 16162. For example, I'll get the output:
Object vs. Planck Length
How long is the object in meters?
4
Planck Length is 4.0 smaller than that object.
What would be the fix? Thanks.
print("Object vs. Planck Length")
print("How long is the object in meters?")
obj = int(input())
result = obj - 0.000000000000000000000000000000000016162
print("1 Planck length is " + str(result) + " meters smaller than that object.")
Problem is that the decimal doesn’t carry all the way to 16162. For example, I'll get the output:
Object vs. Planck Length
How long is the object in meters?
4
Planck Length is 4.0 smaller than that object.
What would be the fix? Thanks.