00:01
Hello students, so here the first problem is python code to create a list to find teaser from 0 through 52 and assign the list to the variable number.
00:10
So here output will be stored in the variable numbers.
00:13
So here i have taken numbers which is equal to we have to generate the list from the 0 to 52.
00:18
So we will use the inbuilt function list and the range in the range function i will put here 53.
00:24
So it will generate the number from 0 to 52.
00:27
So here i have written the output also.
00:30
So here numbers will be generated from 0, 1, 2 up to the 52.
00:34
So this will generate the list of a number.
00:38
Now the python code to count the number of the character in the string str1 without using length function and save the number in the variable nums.
00:48
So here string 1 i have taken i like nonsense it makes up the brain cell fantasy is a necessary ingredient in living.
00:55
So here nums is equal to 0 for care in str1.
01:01
So here nums equal to nums plus fun.
01:04
So here nums variable will count the total number of the character in the string.
01:10
So i initialize the num equal to 0...