This commit is contained in:
commit
568474d52f
1591 files changed
+528213
No files matched your search
Generated
+10
@@ -0,0 +1,10 @@
|
||||
struct Battery:
|
||||
var charge: Int
|
||||
|
||||
def __init__(out self, charge: Int):
|
||||
self.charge = charge
|
||||
|
||||
|
||||
def main():
|
||||
var b = Battery(15)
|
||||
print("low:", b.is_low())
|
||||
Reference in new issue
Block a user