Ask coding questions

← Back to all posts
Can someone help me with this program
MariamMohammedM (0)

Write a Python program as below algorithm

  1. Enter 3 subjects as follow (English, Maths, Computer Science)
  2. Change all subjects data to integers - int
  3. Check if English is Greater than 95 AND Computer Science is Greater than 92
    Then print ("You are ASP Cluster")
  4. Check if Maths is Greater than 90 OR Computer Science is Greater than 92
    Then print ("You care CAI Cluster")
  5. If all marks do not match conditions
    Then print ("You are AE Cluster")
Answered by IMayBeMe (468) [earned 5 cycles]
View Answer
Comments
hotnewtop
IMayBeMe (468)

There is no way that you can convert a string of characters into an int. Are you looking to find their index in the alphabet?