Python Forum
Assist with calculation
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Assist with calculation
#1
I am writing a short program to count the number of times a digit appears in a large number but I can’t think of what math I would use to do this. I have no code to post as I can’t start until I figure out the math.
Reply
#2
convert number to string
get length of string
Reply
#3
(Nov-09-2018, 10:57 AM)Larz60+ Wrote: convert number to string
get length of string

Thank you
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020