fork(1) download
  1. num = 50
  2. if num %10 == 0:
  3. print(str(num) + "is a multiple number")
  4.  
  5. else:
  6. print(str(num)+ "is not a multiple number")
  7.  
  8. #secon
  9. num = 45
  10. if num %10 == 0:
  11. print(str(num) +" "+ "is a multiple number")
  12.  
  13. else:
  14. print(str(num) +" "+ "is not a multiple number ")
  15.  
  16. #elif ladder
  17.  
  18. ind = int(350)
  19.  
  20. if ind>=380:
  21. print("india will win")
  22.  
  23. elif ind>=370:
  24. print("india might win")
  25.  
  26. elif ind>=360:
  27. print("aus will win")
  28.  
  29. else:
  30. print("better luck next time")
  31.  
  32. num = int(input (" enter a number: ") )
  33.  
  34. if num > 99 and num < 1000:
  35.  
  36. if num % 2 == 0:
  37.  
  38. print(str(num) + "is a three digit even number")
  39. else:
  40. print(str(num) + " is not a three digit even number")
  41.  
  42.  
Success #stdin #stdout 0.02s 9192KB
stdin
20
stdout
50is a multiple number
45 is not a multiple number 
better luck next time
 enter a number: 20 is not a three digit even  number