Apr-12-2020, 12:13 PM
Indeed you have to store the count somewhere. It cannot be in the function, because the count would be gone as soon as the function ends. Try to make a list of possibilities to store the count.
create a function that can count
|
|
Messages In This Thread |
create a function that can count - by polk203 - Apr-12-2020, 11:53 AM
RE: create a function that can count - by ibreeden - Apr-12-2020, 12:13 PM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
create a function format_date ? | Kessie1971 | 7 | 1,927 |
Apr-24-2023, 11:54 AM Last Post: Larz60+ |
|
How to create a menu and execute a function based on user selection in python? | Thedarkphoenix | 1 | 1,398 |
Nov-23-2022, 07:53 PM Last Post: Larz60+ |
|
Syllable Count Function | pav1983 | 3 | 2,732 |
Jun-04-2020, 07:32 AM Last Post: pyzyx3qwerty |
|
Count Letters in a Sentence (without using the Count Function) | bhill | 3 | 5,329 |
Jun-19-2018, 02:52 AM Last Post: bhill |
|
create function let_to_num() | Truman | 1 | 6,095 |
Feb-15-2018, 04:04 AM Last Post: ka06059 |