a = 4 b = 5 c = 6
(4, 5, 6)Notice that you can print more than one variable at a time.
a + b + c a + b - c b - c - a
c / a c // a c % aNotice the difference between the two different types of division.
a ** 2 a ** 3 a ** 4
a + b * c (a + b) * c a + b / c a + b // c a + b % c (a + b) / c (a + b) // c (a + b) % c
a: 4 b: 5 c: 6 a + b + c = 15 a + b - c = 3 b - c - a = -5 c / a = 1.5 c // a = 1 c % a = 2 a ** 2 = 16 a ** 3 = 64 a ** 4 = 256 a + b * c = 34 (a + b) * c = 54 a + b / c = 4.833333333333333 a + b // c = 4 a + b % c = 9 (a + b) / c = 1.5 (a + b) // c = 1 (a + b) % c = 3
~ghoffman/it116_test/ex05.shThe script will prompt you for your Unix username.