Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 06. Favorite Movie
- movie_name = input()
- max_points = -1111111111111
- min_ponts = 11111111111
- num_movie = 0
- points = 0
- while movie_name != "STOP" or num_movie != 7:
- for i in range(len(movie_name)+1):
- if ord[] >= 65 and ord[i] <= 90:
- points_movie = ord[i] - (len(movie_name) * 2)
- points += points_movie
- if ord[i] >= 97 and ord[i] <= 122:
- points_movie = ord[i] - len(movie_name)
- points += points_movie
- print(points)
Add Comment
Please, Sign In to add comment