Skip to content

Commit

Permalink
update lab02 code clear
Browse files Browse the repository at this point in the history
  • Loading branch information
KeithLin724 committed Oct 12, 2023
1 parent 06fff49 commit 5567e00
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lab02/lab02.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ func main() {

func Sum(n int64) string {
// TODO: Finish this function
ans := 0
str := ""
last := n

ans, str, last := 0, "", n

if n%7 == 0 {
last--
Expand Down

0 comments on commit 5567e00

Please sign in to comment.