We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e72819a commit f7f4db3Copy full SHA for f7f4db3
exercises/11-Swap_digits/app.py
@@ -1,7 +1,7 @@
1
#Complete the fuction to return the swapped digits of a given two-digit-interger.
2
def swap_digits(num):
3
result = str(num%10)+str(num//10)
4
- return int(result)
+ return (result)
5
6
7
0 commit comments