Question: Given an integer greater than 9, print its last two bits in reverse order with space in between. Example input 3, Example output 1 1

Given an integer greater than 9, print its last two bits in reverse order with space in between.

Example input 3, Example output 1 1

Example input 37, Example output 1 0

Note: This is just for ur referance how output should look like. I need a code in python please

Criteria: Test # Input Output

1 1234 0 1 2 567 1 1

3 182310 0 1

4 82649 1 0

5 64 0 0

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!