move around

This commit is contained in:
Ilya Kantor 2019-01-13 20:36:23 +03:00
parent fdad5ff3ac
commit 7e5ffe269e
4 changed files with 1 additions and 3 deletions

View file

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 92 KiB

After

Width:  |  Height:  |  Size: 92 KiB

Before After
Before After

View file

@ -20,8 +20,6 @@ The schema:
Please use nested `if` blocks. Mind the overall readability of the code.
Hint:
1. passing an empty input to a prompt returns an empty string `''`. Pressing `key:ESC` during a prompt returns `null`.
2. You should use || that we will see in detail on the next chapter. Here some info: in classical programming, the logical OR is meant to manipulate boolean values only. If any of its arguments are true, it returns true, otherwise it returns false.
Hint: passing an empty input to a prompt returns an empty string `''`. Pressing `key:ESC` during a prompt returns `null`.
[demo]