data = "гол 25кк".split()
if len(data) > 0:
command = data[0]
data.pop(0)
if len(data) == 1:
if command.lower() == "гол":
value_data = data[0].split('к')
value = int(value_data[0])
value_data.pop(0)
chars_k = len(value_data)
print(command)
print(value)
print(chars_k * "к")
гол
25
кк