Python The Exactly Same Code Gets Completely Different

Python The Exactly Same Code Gets Completely Different