私は楽しみのためにテキストベースのゲーム実験を行っています.1週間ほど前に学習を始めたばかりです.65の代わりにプレイヤーが持っているヘルスの値を使用すると、6.500000e + 01になり、あまり読みません.どうすればこれを防ぐことができますか?ここに来るのは初めてですが、コード全体を投稿する必要がありますか?
if 'eat' in food:
print "Then starts the feast, you eat everything you can reach. After a while you become to tired and need to rest."
print "You wake up with no sense of how much time has passed. You ate too much but feel healthier. You continue on into through the only doors you can see."
player["health"] += 15
print "You are now at %(health) health." % player