Question: Please use python and show the out put! For each of these parts, show the actual code you used to obtain your answer(s) Part 6
Please use python and show the out put!

For each of these parts, show the actual code you used to obtain your answer(s) Part 6 a) Given your jag number is X (6 digits), your birth year is Y, determine the number of digits in 10 Points for a, 10 Points for b X* (2*Y) answer from Part 6a and b) Determine the number of times (together) that 9's and 4's occur in your output that number. Note: changing your integer into a string in order to use the count function isn't the fastest way of doing this problem! 20 Points Part 7 Write one function only to calculate different means (assuming it is possible with the given inputted parameters: if a is negative and b is positive, you can not calculate Logarithmic nor Heronia or Geometric and Centroidal and Harmonic may also not be possible) based on this flag called: def my.means(a, b, flag 'A'): # where possible is 't, if answer has a value and r, if not return possible, answer C Centroidal L Logarithmic IbIn H Heronia atyab+ G Geometric A Harmonic 2/() M Mean (a + b)/2 cntt 20 Points Part 8 Write a function called Count Doubles(input int) with the argument being an integer to return an integer showing the number of occurences that two of the same digit are next to each other ignoring all squences of zeros in input.int (counting zeros causes you to lose all credit for this problem!). Examples: a. CountDoubles(1234567890) returns b. Count Doubles(111222333444) returns 8 c. CountDoubles(factorial(4000)) returns 1036
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
