So I have to write a code while assuming that the grader defines the following variables
a to be some int
b to be some float
s to be some string
and then I have to write a program that prints out exactly the following, where the values in < .... > are replaced by the actual value inside the variables. However, you can only use ONE print statement.
// The variable 'a' has value of <a>. //
\\ While the variable 'b' has value of <b>. \\
// Lastly, the variable 's' has value of "<s>". //
Example, if a=1, b=1.5 and s='hi', then the expected output is:
// The variable 'a' has value of 1. //
\\ While the variable 'b' has value of 1.5. \\
// Lastly, the variable 's' has value of "hi". //
Here is what I have so far, which clearly doesn't work...
a = int
b = folat
s = str
print(f"// The variable 'a' has value of <{a}> . //\n \\ While the variable 'b' has value of <{b}> . \\ \\n// Lastly, the variable 's' has value of <{s}>. //")
What changes should I make??