Merge pull request #63 from Sumanth-Talluri/day5

Error in Day_5 Lists
This commit is contained in:
Asabeneh 2020-08-17 14:49:45 +03:00 committed by GitHub
commit 2c8b7d4813
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -233,7 +233,7 @@ fruits[0] = 'avocado'
print(fruits) # ['avocado', 'orange', 'mango', 'lemon']
fruits[1] = 'apple'
print(fruits) # ['avocado', 'apple', 'mango', 'lemon']
last_index = len(fruits)
last_index = len(fruits) - 1
fruits[last_index] = 'lime'
print(fruits) # ['avocado', 'apple', 'mango', 'lime']
```

View File

@ -430,7 +430,7 @@ To run the python file check the image below. You can run the python file either
### Exercise: Level 2
1. Create a folder named day_1 inside 30DaysOfPython folder. Inside day_1 folder, create a python file helloword.py and repeat questions 1, 2, 3 and 4. Remember to use _print()_ when you are working on a python file. Navigate to the directory where you have saved your file, and run it.
1. Create a folder named day_1 inside 30DaysOfPython folder. Inside day_1 folder, create a python file helloworld.py and repeat questions 1, 2, 3 and 4. Remember to use _print()_ when you are working on a python file. Navigate to the directory where you have saved your file, and run it.
🎉 CONGRATULATIONS ! 🎉