String Python jak wzór
import re
pattern = re.compile("^([A-Z][0-9]+)+$")
pattern.match(string)
Difficult Dormouse
import re
pattern = re.compile("^([A-Z][0-9]+)+$")
pattern.match(string)