Jump to content

Recommended Posts

  • Inactive Member
Posted

5o6 4

  • Like 1
Posted
x = 5605
y = 0
while x > 0:
    digit = x % 10
    x = x // 10
    y = y * 10
    y = y + digit
print(y) # 5065
  • Like 1
  • Inactive Member
Posted

5066

  • Like 1
  • Inactive Member
Posted

5069

  • Like 1
  • Inactive Member
Posted

5071

  • Like 1
  • Inactive Member
Posted

5073

  • Like 1
  • Platinum VIP
Posted

5074

  • Inactive Member
Posted

5076

  • Like 1
  • Platinum VIP
Posted

5077

  • Inactive Member
Posted

5078

  • Like 1
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.