← Back to Printing
Question 83
Student Card
Student Card
Using the three declared values, print a three-line card: the first line is the label Name, a colon and a space, then the name; the second is Age with the same layout; the third is GPA followed by the value shown with exactly two decimals using :0.2f. Use one f-string per line. Input: none; the values are fixed in the code.
Expected Output:
Name: Giselle Age: 21 GPA: 3.80
= newline. The output ends with a newline — print one after the last line.
Hints3 available
Sign in to use hintsTopics:
Printing
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Ctrl+Space to expand shortcuts (pr, inp, def)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.