Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Sandbox

Comments on Output 1 to 1000 without built-in loops [cancelled]

Post

Output 1 to 1000 without built-in loops [cancelled]

+0
−2

Challenge

Create a program that outputs $1$ to $1000$, but, you can't use for, while and loops of the like. Shortest program wins!

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

1 comment thread

Seems too loosely defined. Is recursion a loop? Is mapping a loop? are builtins that give you a range... (1 comment)
Seems too loosely defined. Is recursion a loop? Is mapping a loop? are builtins that give you a range...
Quintec‭ wrote over 3 years ago

Seems too loosely defined. Is recursion a loop? Is mapping a loop? are builtins that give you a range a loop? This feels either too easy or too hard, and if you restrict everything I’m not sure anyone can do better than literally printing out the whole string