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) |
Global Windows Shortcuts Win+1, 2, 3, 4, etc. will launch each program in your taskbar. It is helpful then to keep your most used programs at the beginning of your task bar so you can open them one right after another. This also works in Windows Vista for the quick launch icons. Win+Alt+1, 2, 3, etc. will open the jump list for each program in the taskbar. You can then use your arrows to select which jump list option you want to open. Win+T will cycle through taskbar programs. This is similar to just hovering over the item with your mouse but you can launch the program with Space or Enter. Win+Home minimizes all programs except current the window. This is similar to the Aero shake and can be disabled with the same registry key. Win+B selects the system tray which isn’t always useful but can come in very handy if your mouse stops working. Win+Up/Down maximizes and restores down the current window so long as that window has the option to be maximized. It is exactly t...
Comments
Post a Comment
share your thoughts ....