00:01
Okay, this question says write a python program and it'll take string as input from users.
00:05
So let's start with that.
00:06
Myster equals input.
00:10
Please input your string.
00:17
So that'll be something and just let's make that this.
00:25
Because that's what they give is the example.
00:29
And next thing is to identify digits and alphabets from the first.
00:35
That input string and make separate groups that classify it.
00:43
Okay, so that's easy enough.
00:46
So let's say all digits is equal to this string and all alphabet equal to this string.
01:02
Okay.
01:04
And so what we're gonna do is we're gonna say my str to my str.
01:13
Lower.
01:14
So that just means we're going to convert that string all to lowercase.
01:18
So it's all lowercase now.
01:22
And we're going to say 4i in range, len, my str.
01:27
So we're going to loop through the string and we're going to say if my stri, so if this character is in all digits, then print true.
01:40
So let's see if that works.
01:44
And so you see this princet out at 1, 2, 3, 4, 5, 6, 7, 8 times.
01:51
So that's because there are 8 numbers here.
01:53
And so what we're going to do instead is we're going to say digits equals this and alphabets equals this...