Introduction to Python Exercises

ii) Use a string subscription to calculate your initials from within an f-string expression. Print the results. iii) Repeat the previous step, but right align the initials (using a fixed-width line of 45 characters). iv) In the same script, use an f-string to format the square root of 2, … ................
................