Question 1.......... Iss

A = input(“Enter yrrr : “)
if A.isdigit():
print(“The character is a digit.”)
else:
print(“The character is not a digit.”, end=”\n”)

2 Likes

@sayanalu9091

Correct, keep it up.

@dsedyoda
mam isme error ko keise fix karu…?i

@sayanalu9091
Your constructor should be with double underscore (def init)
Correct this

1 Like

@sayanalu9091

Do not pass any parameter while creating an object at line 18.

1 Like

Init mai underscore dena vul geya tha… Chal raha hai avi thik se…

2 Likes

@sayanalu9091
Ok keep learning :blush::blush:

1 Like