How do you enter age in programming?

To input something means to put it into the computer. Output is the reverse, like the print statements we’ve been using. So our program now looks something like this: print “What is your age?” age = input() if age == 1: print “You are ” + age + ” year old.” else: print “You are ” + age + ” years old.”

Sizin İçin Seçtik  How do I get Boba airdrop for OMG?

Leave a Reply

Your email address will not be published. Required fields are marked *

How do you enter age in programming?

To input something means to put it into the computer. Output is the reverse, like the print statements we’ve been using. So our program now looks something like this: print “What is your age?” age = input() if age == 1: print “You are ” + age + ” year old.” else: print “You are ” + age + ” years old.”

Sizin İçin Seçtik  Ingilizler kaç yıldır var?

Leave a Reply

Your email address will not be published. Required fields are marked *