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

Author name: PythonCSIP CS IP

6. Write a program that creates a list of all the integers less than 100 that are multiples of 3 or 5.

sa 12 cs chapter 2 / PythonCSIP CS IP

6. Write a program that creates a list of all the integers less than 100 that are multiples of 3 or 5. Read More »

7. Define two variables first and second so that first = “Jimmy” and second = “Johny”. Write a short Python code segment that swaps the values assigned to these two variables and prints the results.

sa 12 cs chapter 2 / PythonCSIP CS IP

# Code first = ‘Jimmy’ second = ‘Johny’ print(first, second) # Jimmy Johny first, second = second, first # swaps the variables print(first, second) # Johny Jimmy

7. Define two variables first and second so that first = “Jimmy” and second = “Johny”. Write a short Python code segment that swaps the values assigned to these two variables and prints the results. Read More »

Post pagination
← Previous 1 … 170 171 172 … 554 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 © 2026 Pooja Bhatia Classes Hari Nagar | Powered by Pooja Bhatia Classes Hari Nagar.