Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-pipeline
csst_proto
Commits
48080d74
Commit
48080d74
authored
Sep 07, 2022
by
BO ZHANG
🏀
Browse files
added scratch
parent
9464bcbc
Pipeline
#98
passed with stages
in 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
csst_proto/scratch.py
0 → 100644
View file @
48080d74
import
numpy
as
np
def
print_some_numbers
(
start
:
int
,
stop
=
10
):
""" this function prints some numbers
Parameters
----------
start: int
start number
stop: int
stop number
Notes
-----
this algorithm ...
"""
for
i
in
np
.
arange
(
start
,
stop
):
print
(
i
)
return
class
AClass
:
def
__init__
(
self
):
self
.
a
=
1
def
print_a
(
self
):
if
True
:
print
(
self
.
a
)
if
__name__
==
"__main__"
:
print_some_numbers
(
start
=
1
,
stop
=
5
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment