![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 13.12.2019 21:31 estheradame547
The function below tries to create a list of integers by reading them from a file. the file is expected to have a single integer per line and the code works correctly in that case. if any of the lines don't contain just an integer, than this code fails. fix this code so that it ignores any lines that don't contain integers instead of raising an exception. do this with try/except blocks. your code should still return the list of integers from the lines that contain integers.
![ansver](/tpl/images/cats/User.png)
Answers: 2
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 23:40, lexiecooley
4. what is the reason for including the following code snippet in the header file animal. h? #ifndef animal_h #define animal_h class animal { public: animal(); animal(double new_area_hunt); void birth(); void hunt(double new_area_hunt); void death(); double get_area_hunt() const; private: double area_hunt; }; #endif
Answers: 3
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 17:40, orlandokojoasem1234
Write an assembly language program to input a string from the user. your program should do these two things: 1. count and display the number of words in the user input string. 2. flip the case of each character from upper to lower or lower to upper. for example if the user types in: "hello there. how are you? " your output should be: the number of words in the input string is: 5 the output string is : hello there. how are you?
Answers: 2
You know the right answer?
The function below tries to create a list of integers by reading them from a file. the file is expec...
Questions in other subjects:
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/ap.png)
Advanced Placement (AP), 23.05.2020 23:59
![Konu](/tpl/images/cats/istoriya.png)
History, 23.05.2020 23:59
![Konu](/tpl/images/cats/informatica.png)
Computers and Technology, 23.05.2020 23:59
![Konu](/tpl/images/cats/fizika.png)
Physics, 23.05.2020 23:59
![Konu](/tpl/images/cats/himiya.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 23.05.2020 23:59
![Konu](/tpl/images/cats/himiya.png)
Chemistry, 23.05.2020 23:59
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/en.png)
English, 23.05.2020 23:59