Code Program Cek Bilangan Ganjil Atau Genap Dengan Python

Kode Program Ini saya jalankan di Compailer PyScripter:

A =int (input())
if(A % 2==0):   
     print("GENAP")
else:   
      print ("Ganjil")

Hasil dari Compaile :





Share on Google Plus

About Unknown

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment

0 komentar:

Post a Comment