write a function reverse that reverses the order of the characters in a string. the function should be recursive. example: reverse('live') should return 'evil'.
Create a function generateString(char, val) that returns a string with val number of char characters concatenated together. For example generateString('a', 7) will return aaaaaaa.
python coding for y, you will also display a “bar” of ‘X’ characters to represent the number. For example, the prime number 2 would be represented as “X 2”.