credits = 120 gpa = 1.9 if (credits >= 120) and (gpa >= 2.0): print("You meet the requirements to graduate!") else: print("You have met at least one of the requirements.")
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter