Skip to content

Commit

Permalink
format md files with prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Nenad committed Jun 20, 2024
1 parent bdacfe4 commit 9392aa3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions docs/ABOUT.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ scalable [dApps][dapps] with the power of [validity proofs][zkp].
[cairo]: https://www.cairo-lang.org/
[dapps]: https://en.wikipedia.org/wiki/Decentralized_application
[zkp]: https://en.wikipedia.org/wiki/Zero-knowledge_proof

<!-- TODO: write document
This document contains a short introduction to the language.
Expand Down
5 changes: 2 additions & 3 deletions exercises/practice/armstrong-numbers/.docs/instructions.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
# Instructions

An [Armstrong number][armstrong-number] is a number that is the sum of its own
digits each raised to the power of the number of digits.
An [Armstrong number][armstrong-number] is a number that is the sum of its own digits each raised to the power of the number of digits.

For example:

- 9 is an Armstrong number, because `9 = 9^1 = 9`
- 10 is _not_ an Armstrong number, because `10 != 1^2 + 0^2 = 1`
- 153 is an Armstrong number, because: `153 = 1^3 + 5^3 + 3^3 = 1 + 125 + 27 = 153`
- 154 is _not_ an Armstrong number, because:
`154 != 1^3 + 5^3 + 4^3 = 1 + 125 + 64 = 190`
`154 != 1^3 + 5^3 + 4^3 = 1 + 125 + 64 = 190`

Write some code to determine whether a number is an Armstrong number.

Expand Down
4 changes: 2 additions & 2 deletions exercises/practice/leap/.docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A leap year (in the Gregorian calendar) occurs:

- In every year that is evenly divisible by 4.
- Unless the year is evenly divisible by 100, in which case it's only a leap
year if the year is also evenly divisible by 400.
year if the year is also evenly divisible by 400.

Some examples:

Expand All @@ -13,6 +13,6 @@ Some examples:
- 2000 was a leap year!

> For a delightful, four-minute explanation of the whole phenomenon of leap
years, check out [this YouTube video][video].
> years, check out [this YouTube video][video].
[video]: https://www.youtube.com/watch?v=xX96xng7sAE
2 changes: 1 addition & 1 deletion exercises/practice/semi-structured-logs/.docs/hints.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## 1. Emit semi-structured messages

- `match` comes in handy when working with enums. In this case, see how you
might use it when figuring how what kind of log message to generate.
might use it when figuring how what kind of log message to generate.

[tcb-enums]: https://book.cairo-lang.org/ch06-01-enums.html
[tcb-match]: https://book.cairo-lang.org/ch06-02-the-match-control-flow-construct.html

0 comments on commit 9392aa3

Please sign in to comment.