PY
py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
class char:
def __init__(self, name, hp, sanity, lore, influence, obvservation, strength, wits):
char.self = self
self.name = name
self.hp = hp
self.sanity = sanity
self.lore = lore
self.influence = influence
self.observation = obvservation
self.strength = strength
self.wits = wits
def display(self):
print("Name: {self.name}")
print("HP: {self.hp}")
print("Sanity: {self.sanity}")
Norman= char("Norman Withers", 5, 7, 3, 1, 3, 2, 4)
Calvin= char("Calvin Wright", 6, 6, 3, 3, 3, 3, 1)
Agnes= char("Agnes Baker", 6, 6, 4, 2, 2, 2, 3)
print (char.display(input()))
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run