Jul-05-2019, 07:58 AM
I'm experimenting with a C++ style program trying to make it work in Python but I don't think it's gonna go. I'm trying to increment what is in the letter variable to get it to print the letter that follows after 'A' in the alphabet. This works okay in C++ but not working in Python. What do I have to do to make it work in Python?
letter = 'A' print("The current character is " + letter) letter += 1 print("The current character is" + letter) print()