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] = (broj*broj, broj**3, broj**0.5)
- if(x<m) or (x>n):
- print('nema podatoci')
- else:
- print(tablica[x])
- print(tablica)
- """
- Sample input
- 100
- 1
- 10
- Sample output
- nema podatoci
- {}
- """
Add Comment
Please, Sign In to add comment