Computer Science, asked by sachikbhanushali, 6 months ago

Write a python script to create a dictionary where key will be

numbers and value will be its reverse of that number.

For Example: dic1={123:321,89:98,236:632}​

Answers

Answered by Kaushikkalesh
2

inp = [int(i) for i in input().split()]

dic1 = { }

for i in inp:

dic1[i] = int(str(i)[::-1])

print(dic1)

Please Mark this as Brainliest

And Thank Me

Similar questions