Question: Please use PYTHON to solve. Thank you! 4 Riddler Holy digits Batman! The Riddler is planning his next caper somewhere on Pennsylvania Avenue. In his

Please use PYTHON to solve. Thank you!  Please use PYTHON to solve. Thank you! 4 Riddler Holy digits

4 Riddler Holy digits Batman! The Riddler is planning his next caper somewhere on Pennsylvania Avenue. In his usual sporting fashion, he has left the address in the form of a puzzle. The addresson Pennsylvania is a four-digit number with the following properties: . All four digits are different . The digit in the thousands place is three times the digit in the tens place . The number is odd . The sum of the digits is 27. Write a function that uses a loop or loops that returns the address where the Riddler plans to strike. 4.1 Hint Figure out how to get each of the ones, tens, hundreds, and thousands place first. You will need to use division and the modulus operators

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!