HI I need to change bash script "switch case" to Python Switch Case
my bash case is:
read class
case $class in
1)
type="Samurai"
hp=10
attack=11
magic=12
;;
2)
type="Warrior"
hp=13
attack=4
magic=12
;;
3)
type="Ninja"
hp=30
attack=4
magic=16
;;
esac
echo "You chosen the $type class. Your HP is $hp and your attack is $attack and your magic is $magic."
I try more things in python but can't do it Note: i using python3.