migrate to git.charlotte.sh
This commit is contained in:
commit
fbd588721e
412 changed files with 13750 additions and 0 deletions
7
python-csi160/week03/Week-3Practice-Problems/part2.py
Normal file
7
python-csi160/week03/Week-3Practice-Problems/part2.py
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Read an integer:
|
||||
number = int(input('Enter a two digit number: '))
|
||||
|
||||
# Print the digits reversed
|
||||
|
||||
|
||||
print(str(number % 10) + str(number // 10))
|
Loading…
Add table
Add a link
Reference in a new issue