Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if __name__ == "__main__":
- m = int(input())
- n = int(input())
- x = int(input())
- #vasiot kod pisuvajte go tuka
- tablica = {}
- for broj in range(m,n+1):
- tablica[broj**3] = broj
- try:
- print(tablica[x])
- except:
- print('nema podatoci')
- print(tablica)
- """
- Sample input
- 8
- 10
- 81
- Sample output
- nema podatoci
- {512: 8, 729: 9, 1000: 10}
- """
Add Comment
Please, Sign In to add comment