[Tutor] built in functions int(),long()

Lloyd Kvam lkvam@venix.com
Fri Jun 20 18:02:21 2003


 > Base(* * * * * * * * * *) ?

Base one (like Roman Numerals)

Magnus Lyck=E5 wrote:
> At 12:47 2003-06-19 -0600, Bob Gailer wrote:
>=20
>> "base 10" is ambiguous. We usually interpret that to mean the decimal=20
>> system, but an 8 fingered alien who counts in octal would say "base=20
>> 10" and it would mean octal.
>=20
>=20
> Oh no Bob. There are only 10 reasonable ways to
> understand the number 10. The right way, and the
> wrong way! :)
>=20
> Actually, it might be better to write "base(9+1)"...
>=20
> (Now you know it, I'm a dolphin and I only have
> two flippers... ;)
>=20
> It's funny btw, I've mentioned before that I feel
> that Jeff Shannon often seem to write just what I
> am thinking, and today (oops, yesterday, it's past
> midnight again) we both felt that we had to print
> a sequence of asterisks to present numbers. Maybe
> that's the only unambiguous way?
>=20
> Base(* * * * * * * * * *) ?
>=20
> Perhaps the positional number system is fundamentally
> flawed?
>=20
> (Or as the father in Patric Leconte's "The Hairdresser's
> Husband" put it: "What is the difference between an
> ordinary dog and a binary dog?
> The ordinary dog has one head, one tail and four legs.
> The binary dog has one head, one tail, one leg, one leg,
> one leg and one leg." :)
>=20
>=20
> --=20
> Magnus Lycka (It's really Lyckå), magnus@thinkware.se
> Thinkware AB, Sweden, www.thinkware.se
> I code Python ~ The Agile Programming Language
>=20
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>=20


--=20
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358

voice:	603-443-6155
fax:	801-459-9582