No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hey there, everyone. My friend and I are looking into writing a very simple game in Python. We're gonna use PyGame for it as well. It's a top-down view 2D game where you play as a guy with an ax who kills zombies. There are not different levels; it's all … |
|
I'm trying to using Try, Except to check an input() to make sure it's not blank. I'm using it at a different part of my program to check a float(input()) and it catches it if someone leaves it blank or enters a string, but I assume that's because it's checking … |
|
Hi everyone. I spent a lot of time figuring out how to get my code to check for user errors and types. I finally got it set up properly, but now I'm getting an error. A number is required on my input. If someone doesn't enter a number or leaves … |