Infinite number range
Is there a way for the range of my number to be 0 through infinity? https://code.sololearn.com/cyAAdD3lITtl/?ref=app
Infinity is used in mathematics to represent a really large number. There is no such thing as infinity in computers. There's a limit for computers and for languages. You can even reason that infinity doesn't even exist, but that's not the point here. So as infinity doesn't exist, what's the next best thing? 'Course it's the upper limit of your language(Python) and I've shown how to do that in the below code https://code.sololearn.com/cY8870hF7YeO/?ref=app
Also, even if it were possible, picking a random number between 0 and infinity is probably never what you want. If you pick a random number between 0 and 10, then on average, you will expect the size of your number to be around 5. Picking a random number between 0 and infinity will, on average, lead to infinitely long numbers, which take an infinitely long time to print onto your screen, which will probably crash the program/computer in the process.
It syas it cant import information from math
Happy to help :)
Okay, so what would i do if i wanted the lowest number possible?
Okay, yea i guess it works thanks again
Happy to help again😃👍
Problem Statement Given two integers a and b, your task is to calculate and print the following four values:
Please help, any idea?