- 3 Write A Function Rightfill S N Which Fills The String S With Blanks From The Right Until Its Total Length Is N Char 1 (19.13 KiB) Viewed 26 times
3. Write a function RightFill(s, n) which fills the string s with blanks from the right until its total length is n char
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
3. Write a function RightFill(s, n) which fills the string s with blanks from the right until its total length is n char
3. Write a function RightFill(s, n) which fills the string s with blanks from the right until its total length is n characters. If s is longer than n characters, it must be truncated.