mirror of https://github.com/01-edu/public.git
small typo
This commit is contained in:
parent
54585ff591
commit
4ff540dcdd
|
@ -1,11 +1,11 @@
|
||||||
## StrisNegative
|
## StrisNegative
|
||||||
|
|
||||||
Write a function named `StrisNegative()`hat defines whether a number is negative or positive.
|
Write a function called `StrisNegative()` that defines whether a number is negative or positive.
|
||||||
- Your function prints `P` if the number is positive
|
- Your function prints `P` if the number is positive
|
||||||
- Your function prints `F` if the number is negative
|
- Your function prints `F` if the number is negative
|
||||||
- If the number is zero, print `0`.
|
- If the number is zero, print `0`.
|
||||||
- If it's not a number, print `('\n') `.
|
- If it's not a number, print `('\n')`.
|
||||||
- Your program should always print `('\n') ` at the end of the output.
|
- Your program should always print `('\n')` at the end of the output.
|
||||||
|
|
||||||
### Expected function
|
### Expected function
|
||||||
|
|
||||||
|
@ -41,4 +41,3 @@ N
|
||||||
!
|
!
|
||||||
!
|
!
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue