Question: Help please. I've already read my text file. Python coding In [ ] : Q9. Count the last names ending with E and assign it
Help please. I've already read my text file. Python coding
In [ ] : Q9. Count the last names ending with "E" and assign it to "ans 9 " variable In [26]: In [ ] : Q10. Count the numbers larger than 0.1 assign it to "ans10" variable \# Note: Please be careful with names and numbers. To compare numbers to 0.1, it should be integer not string. \# But, names cannot be converted to integer... \# Hint: You can create two lists which respectively have names and numbers. \# Then you can use a list having numbers to compare to 0.1 In [ ] ]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
