python hash comments -> hy comments
This commit is contained in:
parent
4334700549
commit
767af90175
@ -66,11 +66,11 @@ exercise first in python::
|
||||
Now let's try the same thing in hy::
|
||||
|
||||
(def result (- (/ (+ 1 3 88) 2) 8))
|
||||
# simplified to...
|
||||
; simplified to...
|
||||
(def result (- (/ 92 2) 8))
|
||||
# simplified to...
|
||||
; simplified to...
|
||||
(def result (- 46 8))
|
||||
# simplified to...
|
||||
; simplified to...
|
||||
(def result 38)
|
||||
|
||||
As you probably guessed, this last expression with "def" means to
|
||||
|
Loading…
x
Reference in New Issue
Block a user