Well Day 2 was a bit overwhelming and exciting cause I learned about data types like Str, Float, Bol, Long etc and then I stepped out if my comfort zone I just tried to code a game of card with the Learning of Day : 01 by coding list and then was stopped of thinking how to combine the both list to make it 1 full fledged list, then I learned about 2 new concepts 'Nested loop' and 'f-str'. Nested loop in simple words is loop over loop until all the string values of list are done then the use of f-string to combine str values of both list. Than I learned Append() and pop() in simple words if there's a list
Fruits = ['apple'] ------ if I wanna add pineapple I'll just write
Fruits.append('pineapple)
print(Fruits)
Fruits = ['apple' , 'pineapple'] ----- This would be the final result
If I wanna pop 1 value out or take out the pineapple for example
Fruits = ['apple' , 'pineapple']
Fruits.pop(1) ------ This would that the pineapple out of the list(pop works on index like 0,1etc and this list index is 0 for apple and 1 for pineapple
print(Fruits)
so the resultant would be the pop of the pineapple in the list, I've learned so many amazing concept like you can use pop() for a range too, you make range or loop according to list and directory and many more things.If I mentioned it all It's gonna be a really big book, but I wanna keep going and learning
These are my few codes snippets, If anyone wanna understand just mention me in the comments.I'll answer it shortly