Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Python Basics (Retired) Ins & Outs String Building

Phil Havens
Phil Havens
1,629 Points

Ins and Outs Quick Question (Pinning Fjords?)

Hi everyone,

I have no idea what this question is expecting as an answer. I did some research and it seems to be a Monty Python reference, but this seems to be the whole quote!

2 Answers

Winnie E Tibingana
Winnie E Tibingana
21,066 Points

Hi Phil, The question is simply more of like a "fill in the blank" kinda thing to get the output "He's pining for the fjords!"

So how would you concatenate the following strings :

"He's pining "  _______  "for" ________  " the fjords!" 

to get the output:

 "He's pining for the fjords!" 

on the python interpreter?

Please use python's string concatenation operator.

Hope this helps.

Phil Havens
Phil Havens
1,629 Points

Ugh...I knew I was thinking too hard! So simple! Thank you!

Finally, create 2 new variables, one named estimate that holds the rounded number of decades you've lived and, one named summary that adds the string version of estimate into "I am {} days old! That's about {} decades!" with the correct values added to it.