Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Datasets:
neopilot
/
PyRs2
like
0
Follow
NeoPilot AI
1
Modalities:
Text
Formats:
text
Size:
< 1K
Libraries:
Datasets
Croissant
License:
gpl-3.0
Dataset card
Data Studio
Files
Files and versions
xet
Community
1
main
PyRs2
/
rust
/
factorial.rs
khulnasoft
Upload folder using huggingface_hub
998b6cc
verified
7 months ago
raw
Copy download link
history
blame
contribute
delete
Safe
154 Bytes
fn
factorial
(n:
u64
)
->
u64
{
if
n ==
0
{
1
}
else
{
n *
factorial
(n -
1
)
}
}
fn
main
() {
println!
(
"{}"
,
factorial
(
5
));
}