Skip to content

Commit 234a440

Browse files
authored
Убрать лишнее использование f-строк
В данной задаче использование f-строк излишне.
1 parent 96f1c91 commit 234a440

File tree

1 file changed

+1
-1
lines changed
  • modules/40-define-functions/500-named-arguments

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
def trim_and_repeat(text, offset=0, repetitions=1):
2-
return f'{text[offset:] * repetitions}'
2+
return text[offset:] * repetitions

0 commit comments

Comments
 (0)