Advertisement
rdrewd

Problem for digit manipulation in Python

Oct 2nd, 2020
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. Write a Python program that allows you to form and then display a four-digit number R from two strictly positive numbers M and N of two digits each, by inserting N between the two digits of M.
  2.  
  3. Example: M = 56 and N = 21 So R will be equal to 5216
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement