I’m trying to pull from a index and a variable and use in a sentence what’s am I doing wrong
Kurta
bicycles = ['trek','cannondale','shwin','specialized','redline','bmx'] name = "kurt" message = f(name)" (first bike was a {bicycles[3]})" print (message)Thanks for suggestions
Kurta
Larz60+ write Dec-24-2020, 02:28 AM:
Please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.
Fixed for you this time. Please use code tags on future posts
Please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.
Fixed for you this time. Please use code tags on future posts