PROGRAM :-
import math
n = int(input("Enter any integer value : "))
n = str(n)
print("Count of 5 : ",n.count("5"))
n = int(input("Enter any integer value : "))
n = str(n)
print("Count of 5 : ",n.count("5"))
VIDEO LINK : -
Nothing Succeeds Like Success
No comments:
Post a Comment
Note: only a member of this blog may post a comment.