0
Is parsing covered in the python course?
I am having trouble understanding what parsing represents in this function or argument. def pars_int(str): def parse_int(str): """Parses user-entered string for an integer value between 0 including and 100 including. Args: str (string): User input gathered from command line. Returns: int: The parsed integer if the input was valid; None otherwise. """ Am I just creating a string for a user to read and prompt to input with an integer?
4 Answers
+ 1
Not explicitly, but the course provides all relevant basic topics required for this job. You need to parse a string input from user to it's integer value representation if available and print it.
+ 1
MODS this man Ranjana Maidawat is advertising course. He has written same comments in many threads.HonFu Kuba SiekierzyĹski Burey
0
I understand parsing breaks an argument into a branching tree or something along the lines of that. From what I've looked online and stuff. Hmm I think I know what to do now thanks for replying.