The below code currently produces only 3 letter combinations from the 3-letter string. How can I revise the code to produce every 2-letter combination and add "2022" to every combination (such as CE2022, CO2022, OC2022, EO2022, etc.)?
d='CEO'
t=list(itertools.permutations(d,len(d)))
for i in range(0,len(t)):
print(''.join(t[i]))
Output:
CEO
COE
ECO
EOC
OCE
OEC