Group Abstract Group Abstract

Message Boards Message Boards

0
|
535 Views
|
1 Reply
|
1 Total Like
View groups...
Share
Share this post:

A question about Length[ ] applied to a number

Posted 3 months ago

I can not understand why Length[53]==0 but not 1 in Mathmatica. enter image description here

POSTED BY: Martin Xia

Numbers like 53 and 5 are treated as atomic objects in Mathematica:

AtomQ[53]

and as such they have no arguments.

POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard