Skip to content
Advertisement

Tag: case-conversion

Conversion of string to upper case without inbuilt methods

I am trying to perform conversion from a lowercase to uppercase on a string without using any inbuilt functions (other than ord() and char()). Following the logic presented on a different thread here , I came up with this. However I am getting an error output: TypeError: ord() expected a character, but string of length 8 found.What am I missing

Advertisement