Read Chapter 6 up to and including "Parsing strings". You'll need this for the lab on Thursday!!
Programming: Write a program called nines.py that inputs one integer and prints out how many 9 digits were entered as part of that single integer. You must use a while loop. For loops are not yet allowed.
HINT:: use the // operator for dividing integers
5 / 4 --> 1.25 5 // 4 --> 1
OTHER HINT: don't foget the % operator for remainders
25 % 8 --> 1
Your program should run exactly as follows:
Enter a number: 763923
1
Enter a number: 99990999
7
Enter a number: 2349129
2
Submit your nines.py to the online submission system under hw5-while.
Your output must exactly match the above.
submit -c=sd211 -p=hw5-while nines.py