Browse Source

docs(not_decimal) : Correct some typo

pull/2076/head
zainab Dnaya 2 years ago committed by MSilva95
parent
commit
13333923fb
  1. 11
      subjects/not_decimal/README.md

11
subjects/not_decimal/README.md

@ -1,13 +1,12 @@
## Not_decimal ## not_decimal
### Instructions ### Instructions
Write a function called `Not_decimal()` that takes a string in forme of a float number with the decimal point and returns an integer without the decimal point (you muliply by 10^n to remove `.`). Write a function called `Not_decimal` that takes a string in forme of a float number with the decimal point and returns an integer without the decimal point (you muliply by 10^n to remove `.`).
- If the number is doesn'the have a decimal point or there is only zero after `.` return the number followed by a newline (`'\n'`).
- If the argument is empty return newline (`'\n'`).
- If The argument is not a number return it followed by newline (`'\n'`).
- If the number is doesn'the have a decimal point or there is only zero after `.` return the number followed by a newline `\n`.
- If the argument is empty return newline `\n`.
- If The argument is not a number return it followed by newline `\n`.
### Expected function ### Expected function

Loading…
Cancel
Save