Home > other >  Python's a small problem
Python's a small problem

Time:09-26

Want to do a can based on the input 0 or 1 corresponding to the query results is a, b this dictionary function, and a few look don't understand, good regret university didn't learn python, his pants now, does anyone tell me about how to do

CodePudding user response:

 dict={1, "a", 2: "b"} 
Num=int (input (' input: '))
Print (dict (num))
  • Related