What I am trying to do is have a skill level and have it roll a random number if the number is greater than the skill variable then the roll is fail. If it is equal to or less than half +1 then it would be a regular success. if the roll was equal to or less than 25% of the skill it would be an extreme success.
import random
min = 1
max = 100
skill = 60
roll = (random.randint(min, max))
print ("Rolling the dices...")
print (roll)
hard_skill = skill/2
extreme_success = skill * .25
regular_success <= skill and => hard_skill +1
if roll > skill:
print (fail)
elif roll > success_skill < skill:
print (success_skill)
Getting a syntax error on line 10:
skill >= regular_success and => hard_skill + 1
^
SyntaxError: invalid syntax