you are passing astring you can use value of x like
sytem('say {0}'.format(x))
When passing strings you can use string formatting. As you realized you need to get the value of x in the string not the variable x
http://docs.python.org/library/string.html#format-examples