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 f7f4db3 commit 1b96993Copy full SHA for 1b96993
exercises/11-Swap_digits/app.py
@@ -1,11 +1,8 @@
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 (result)
+ # Your code here
5
6
7
8
#Invoke the function with any two digit interger as its argument
9
print(swap_digits(76))
10
-
11
0 commit comments