Created
April 4, 2021 09:32
-
-
Save Abhayparashar31/7f94d05f7fb186dd0b4b806a186dfe97 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| arr = [2,4,6,3,8,10] | |
| for index,value in enumerate(arr): | |
| print(f"At Index {index} The Value Is -> {value}") | |
| '''Output | |
| At Index 0 The Value Is -> 2 | |
| At Index 1 The Value Is -> 4 | |
| At Index 2 The Value Is -> 6 | |
| At Index 3 The Value Is -> 3 | |
| At Index 4 The Value Is -> 8 | |
| At Index 5 The Value Is -> 10 | |
| ''' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment