Challenge
API response
…brackets: launch["name"] . Inside an f-string, use single quotes for the key: {launch['name']} . Everything in the response Before relying on an API, developers look at a whole response. After the…
Showing 41–48 of 48
Challenge
…brackets: launch["name"] . Inside an f-string, use single quotes for the key: {launch['name']} . Everything in the response Before relying on an API, developers look at a whole response. After the…
Challenge
…them. Printing crew itself would show the brackets and quotes too.
Challenge
…into forward slashes and make it lower case. Inside quotes, a single backslash is written as "\\" .
Challenge
…into the braces: {'SYSTEM':<12} . Use the other kind of quotes inside, so they don't end the f-string. Readings on the right The board gets a third column: each system's temperature in °C. Numbers…
Challenge
…C The gaps above are tab characters, not spaces. Inside quotes, a tab is written as a backslash and a t : sep="\t" .
Challenge
…names. Look closely: the marks around the text look like quotes, but they aren't the ones Python accepts. Fix the line so the log prints: Day 2 flight log 08:00 Crew wake-up 09:40 Docking port 2…
Challenge
…Put an r right before the opening quote of the path. That makes it a raw string , in which a backslash is just a backslash. Ends with a backslash The config now also names the archive folder, and…
Challenge
…nominal Use an f-string: put f right before the opening quote, and each variable in curly braces where its value goes. Note the two spaces after the level. Leave the three given lines as they are: a…