Skip to content
Pooja Bhatia Classes Hari Nagar
  • We teach following classes
    • Class 12
    • Class 11
    • Class 10
    • Class 9
  • Sumita Arora IP/CS Solutions
  • Jobs/Internship
Pooja Bhatia Classes Hari Nagar

sa 11 ip chapter 5

10. Write a program to take an integer a as an input and check whether it ends with 4 or 8. If it ends with 4 print “ends with 4”, if it ends with 8, print “ends with 8”, otherwise print “ends with neither”.

sa 11 cs chapter 8, sa 11 ip chapter 5 / PythonCSIP CS IP

a = input(‘Enter a number : ‘) if a[-1] == ‘4’: print(‘ends with 4’) elif a[-1] == 8: print(‘ends with 8’) else: print(‘ends with neither’)

10. Write a program to take an integer a as an input and check whether it ends with 4 or 8. If it ends with 4 print “ends with 4”, if it ends with 8, print “ends with 8”, otherwise print “ends with neither”. Read More »

9. Write a short program to find average of list of numbers entered through keyboard.

sa 11 cs chapter 8, sa 11 ip chapter 5 / PythonCSIP CS IP

9. Write a short program to find average of list of numbers entered through keyboard. Read More »

Post pagination
← Previous 1 … 27 28 29 … 42 Next →
  • We teach following classes
    • Class 12
    • Class 11
    • Class 10
    • Class 9
  • Sumita Arora IP/CS Solutions
  • Jobs/Internship
  • We teach following classes
  • Sumita Arora IP/CS Solutions
  • Jobs/Internship

Copyright © 2025 Pooja Bhatia Classes Hari Nagar | Powered by Pooja Bhatia Classes Hari Nagar.