Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
About Random int
#2
I don't understand "highest" in your description. If you only have one x and one a, then x*a is fixed.

You can solve directly for the maximum a that would allow the expression to be true:
x * a < 250
a < (250 / x)

So 250 / x is the maximum value a could be and the expression is still true.
Reply


Messages In This Thread
About Random int - by MertH - Nov-08-2020, 12:24 AM
RE: About Random int - by bowlofred - Nov-08-2020, 12:51 AM
RE: About Random int - by MertH - Nov-08-2020, 01:49 PM

Forum Jump:

User Panel Messages

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