def reveal():
guessright = 0
for letter in secretword:
if letter == usertry:
guessright = guessright + 1
print usertry,
else:
print "_",
return guessright
reveal()
When using reveal() something like _ _ _ _ a _ will be printed by the for loop- is there a way of converting what it prints into a string, or getting the function to return 2 outputs, the integer guessright, and the stuff that was printed while reveal() was running?