Answered You can hire a professional tutor to get the answer.
The language is python 1. Write function reverseNum(n) that takes a positive integer, n, as input and returns the integer whose digits are the...
The language is python
1. Write function reverseNum(n) that takes a positive integer, n, as input and returns the integer whose digits are the reverse of those in n. Assume that the input does not end in 0.
For example reverseNum(12405) would return 50421.
IMPORTANT RESTRICTION: you may not use any string operations. Yes, it would be easy using string operations but your job her is to do it with math operations.
2. Write function printStringStats(inputString) that calculates and prints the number of occurrences of each vowel (consider the vowels to be only: a/A, e/E, i/I, o/O, and u/U) in the given string, and the total number of non-vowels and total number of uppercase letters in the string. NOTE: You must use a loop to count the vowel occurrences. You many not use the Python's built-in count function.
>>> print