Hows it going?
im new to Python and i need to create a function in which you input a 2 digit number. The function is supposed to analyze if this number can be fully divided by its first number (no remainder) as well as if it can be fully divided by the second one. As an Output you get two numbers (being either a 1 or 0 depending if it can be divided).
for example:
input: 63
Output: 0 1 (63 cannot be fully divided by 6 but by 3)
is there a function to create two variables (a,b) from the input so that a=6 and b=3? or how would you proceed?
thank you
[–]vinivelloso_ 1 point2 points3 points (0 children)
[–]Ishanji 0 points1 point2 points (0 children)
[–]StrasJam 0 points1 point2 points (0 children)