Loading Events

« All Events

  • This event has passed.

Practice Questions Conditional Statement

May 11, 2024 @ 8:00 am - 5:00 pm
  1. Write a Python program to check if a given number is greater than 10.
  2. Write a Python program to check if a given number is less than 5.
  3. Write a Python program to check if a given number is equal to 20.
  4. Write a Python program to check if a given number is not equal to 10.
  5. Write a Python program to check if a given number is between 1 and 10 (exclusive).
  6. Write a Python program to check if a given number is positive and even.
  7. Write a Python program to check if a given number is negative and odd.
  8. Write a Python program to check if a given year is a leap year using the modulo operator.
  9. Write a Python program to check if a given number is divisible by 4 and 6.
  10. Write a Python program to check if a given character is a vowel (a, e, i, o, u).
  11. Write a Python program to check if a given character is a consonant.
  12. Write a Python program to check if a given string contains the substring “hello”.
  13. Write a Python program to check if a given string contains the substring “world”.
  14. Write a Python program to check if a given string is in uppercase.
  15. Write a Python program to check if a given string is in lowercase.
  16. Write a Python program to check if a given string is alphanumeric.

Details

  • Date: May 11, 2024
  • Time:
    8:00 am - 5:00 pm

Organizer

  • cocas

Venue