0
two operations with print command
How to make print command get the following output a = 9 b = 3 c = 9 // 3 out put should be " The quotient of a, b is 3" i tried like this print (" The quotient of a, b is" (c) ) then this print (" The quotient of a, b is (c)" ) I did not get the result. Can anyone explain Thanks
1 Odpowiedź
+ 1
a = 9
b = 3
c = 9 // 3
print (" The quotient of a, b is", c)
Don't make c string
print (f" The quotient of a, b is {c}")
using string formatting
Thanks