1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | lst=list(map(int,input("Enter number seperated by space ").split())) s=0 try: in6=lst.index(6) in7=lst.index(7) except ValueError: in6=1;in7=0 if in6<in7: for i in range (in6): s+=lst[i] for j in range ((in7+1),len(lst)): s+=lst[j] else : s=sum(lst) print("sum=",s) |
Brief : Dragon Age: Inquisition is an action role-playing video game developed by Bioware Edmonton and published by Electronic Arts . The third major game in the Dragon Age franchise, Dragon Age: Inquisition is the sequel to Dragon Age: Origins and Dragon Age II . The game was released worldwide in November 2014 for Microsoft Windows , PlayStation 3 , PlayStation 4 , Xbox 360 , and Xbox One . Repack Size: 20.1~23.9 GB
Comments
Post a Comment
share your thoughts ....