Can the following code be simplified or shortened? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can the following code be simplified or shortened?

those_guys = "LFC" print("{0}{1}{2}{1}{3}".format("ma", "ko", "ro", "to " + those_guys))

29th Jun 2020, 1:46 PM
Michael
Michael - avatar
1 Answer
+ 16
print("makorokoto LFC")
29th Jun 2020, 1:48 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar