This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sobolevn
Recipients Samisafool, sobolevn
Date 2022-01-08.08:39:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1641631176.16.0.684520306414.issue46305@roundup.psfhosted.org>
In-reply-to
Content
Can you please try this:

```
dict1 = {
        "key1": "test"
        }

print(dict1["key1"])

print(f"key1 is {dict1['key1']}!")
```

The problem with your code is that `dict1["key1"]` used the same quotes as `f""`.
History
Date User Action Args
2022-01-08 08:39:36sobolevnsetrecipients: + sobolevn, Samisafool
2022-01-08 08:39:36sobolevnsetmessageid: <1641631176.16.0.684520306414.issue46305@roundup.psfhosted.org>
2022-01-08 08:39:36sobolevnlinkissue46305 messages
2022-01-08 08:39:36sobolevncreate