Jump to Post
[QUOTE=Ene Uran;769328]If your block is only one statement, then you can do something like this:
if number == guess: print("yep it's identical")
It's true, but G Van Rossum regrets this, so I wouldn't say it's good python code.
All 18 Replies
We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.