A question I have...

Joe Shoulak joepshoulak at yahoo.com
Thu Oct 21 22:25:57 EDT 2010


I'm trying to make a sports simulation program and so far everything has worked 
until I try entering:

Score1 = (Team1Off + Team2Def)/2

I get the error:

TypeError: unsupported operand type(s) for /: 'str' and 'int'

Can someone please explain to me what this means, why it doesn't work and what I 
can do to make it work?

 
Thanks,
Best Wishes,
Joe Shoulak



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20101021/05200256/attachment.html>


More information about the Python-list mailing list