Loading csst_proto/scratch.py 0 → 100644 +33 −0 Original line number Diff line number Diff line 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) Loading
csst_proto/scratch.py 0 → 100644 +33 −0 Original line number Diff line number Diff line 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)