PlayerID = "617668722"

Raw_PlayerIDName = " SystemName_Ke_W ang"

PlayerIDName = Raw_PlayerIDName.strip().replace(" ","").replace("_"," ") #.Strip() is used for first whitespace(s)

Char_Name = "YeLan"

print("Player Name is"+" "+PlayerIDName[11:])

Player_Level = int(input("Enter your Player Level:"))

print(Player_Level)

if Player_Level<20:
    World_level=int(1)
if Player_Level>=20 and Player_Level<40:
    World_level=int(2)
elif Player_Level>40:
    World_level=int(3)

print("Your World Level is:", World_level)

Raw_Crit_Damage = float(input("Enter your Player Critical Damage:"))
print(Raw_Crit_Damage,"%")
Raw_Crit_Rate = float(input("Enter your Player Critical Rate:"))
print(Raw_Crit_Rate,"%")

Raw_Crit_Score=Raw_Crit_Rate*2+Raw_Crit_Damage

print("Your Critical Score is",Raw_Crit_Score/10)

HP = int(input("Enter your HP:"))
print(HP)

Attack = int(input("Enter your Attack:"))
print(Attack)

Level_Break = [10,20,30,40,50]

Raw_Exp_Dmg = int(HP*(Raw_Crit_Damage/100)+(Attack*Raw_Crit_Rate))

print("Your Base Damage is:",Raw_Exp_Dmg)

for x in Level_Break:
    print("At Level",x,"Your Damage is:")
    x=int(Raw_Exp_Dmg*(x*x)/1000*World_level)
    print(x)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: