Pip's precision package picker

Report a typo
Hey there! This problem might be a bit unpredictable, but give it a go and let us know how you do!
How can you create a pip command to install a specific version of a package and display it using an f-string? Fill the blanks in the code to complete this task.
Fill in the gaps with the relevant elements
package_name = "requests"
version = "2.0.1"
pip_command = f"  {package_name}=={version}"
(f"The correct pip command is:\n{pip_command}\n")

Create a free account to access the full topic