Depends what you mean by computer,
A finite state machine can't create a random number, but a modern computer often has non-deterministic devices attached to it such as the sound card which can generate random values.
(
JimM,
Mon 19 Apr 2004, 20:24,
archived)