Skip to content

Latest commit

 

History

History
5 lines (4 loc) · 261 Bytes

File metadata and controls

5 lines (4 loc) · 261 Bytes

Write a function repeated_numbers(n: int) -> float that takes an integer n as input and returns a floating-point number where the integer n is repeated in the decimal part.

For example:

  • repeated_numbers(11) → 11.11
  • repeated_numbers(5) → 5.5