Using Variables

Write a program that creates three variables. Put the value 2327 into the first variable, the value 2.71828 into the second, and the value "Computer Science" into the third. It does not matter what you call the variables... this time.

Then, display the values of these three variables on the screen, one per line.

This is room # 2327
e is close to 2.71828
I am learning a bit about Computer Science

Your program SHOULD NOT look like this:

    print("This is room # 2327")
    print("e is close to 2.71828")
    print("I am learning a bit about Computer Science")

You must use three variables and .format(). Your program will probably have six lines of code.




©2017 Graham Mitchell