reset password
Author Message
ykim85
Posts: 26
Posted 14:09 Sep 23, 2016 |

so i'm wondering for this query x = 30 * 10 ** 100 do you want us to also show what x is? x = 30 * 10 ** 100 is just a declaration

kevinmowers@yahoo.com
Posts: 49
Posted 14:13 Sep 23, 2016 |

i would just print x just in case, i'm guesssing that it wouldn't hurt

ykim85
Posts: 26
Posted 14:14 Sep 23, 2016 |

KEVINMOWERS++

msargent
Posts: 519
Posted 14:16 Sep 23, 2016 |

The whole point of this is to make a number too large to be an integer, to show how Python will accommodate the code nonetheless. Just put it in the console and see the result. So print x.

Last edited by msargent at 14:16 Sep 23, 2016.
msargent
Posts: 519
Posted 14:18 Sep 23, 2016 |

I changed the assignment to put print(x) at the end.

ykim85
Posts: 26
Posted 14:18 Sep 23, 2016 |

MSARGENT++++