Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def z(x):
- y=1
- x=str(x)
- for i in x:
- y=y*int(x[0])
- x = x.replace(x[0], '')
- print (y)
- z(1234)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement