+ 1

Help with challenge problem

Could someone explain what the s variable means? https://imgur.com/a/tjq8Zgv

25th Jun 2022, 8:24 PM
Hubert Huang
2 Answers
+ 5
Storing the value of '{2}{1}{0}'.format(i[0], i[1], i[2]) in s '{2}{1}{0}'.format(i[0], i[1], i[2]) = '{2}{1}{0}'.format(1, 2, 3) = 321 Learn about format() function
25th Jun 2022, 8:47 PM
AÍąJ
AÍąJ - avatar
+ 3
Hi! You can google and read about it. Look up: Python String format() method.
25th Jun 2022, 8:42 PM
Per Bratthammar
Per Bratthammar - avatar