Python Programming Help?

They steel dishes or are you only just able to bench 5KG? ;) ... Hehe, and FYI, concrete doesn't burn to the point where it hurts, I mean it just burns and when you wash it off, you get a scab/cut/wound(whatever you wanna call it) occur.

I like how this went from a simple Python program to this.

When you carry around 11 KG all day and then have to wash each and every dish by hand (Including soup cookers and frying pan and such) you tell me its not labor. BTW the kitchen is a full city block away from dish-washing.

IKR? I can get sooooo off topic.

I was going to chime in but as I flipped throough it went from Python programming to a Strong Man contest of lifting heavy kitchenware !

@Devon_Cahill adding a backtick to the front and back of your code will make it pre-formatted text. try it.

code goes here

2 Likes

@Miguel_Sensacion thanks for the info.

1 Like

I had problem with defining functions it also didn't want to work and ill tackle this later but here is my version that program:

Life_P1 = 20
print("Welcome, Player 1 has 20 HP")
print("Did Played 1 gained or lost life? Type add or lose: ")
while Life_P1 > 0:
 life_input = input()
 if life_input not in ["add", "lose", "critic"]:
  print("Invalid input, you can only type add or lose")

 if life_input.lower() == "add":
  Life_P1 = Life_P1 + 1
  print("Player 1: ", Life_P1)

 if life_input.lower() == "lose":
  Life_P1 = Life_P1 - 1
  print("Player 1: ", Life_P1)

#This is just for testing purposes

 elif life_input.lower() == "critic":
  Life_P1 = Life_P1 - 10
  print("Player 1:", Life_P1)

print("Player 1 has died")
2 Likes