Voglio implementare una HashMap in Python. Voglio chiedere a un utente un input. a seconda del suo input, sto recuperando alcune informazioni da HashMap. Se l'utente inserisce una chiave di HashMap, vorrei recuperare il valore corrispondente.Hash Map in Python
Come implementare questa funzionalità in Python?
HashMap<String,String> streetno=new HashMap<String,String>();
streetno.put("1", "Sachin Tendulkar");
streetno.put("2", "Dravid");
streetno.put("3","Sehwag");
streetno.put("4","Laxman");
streetno.put("5","Kohli")
http://meta.stackexchange.com/questions/15650/ban-lmgtfy-let-me-google-that-for-you-links – Alan