Professional Documents
Culture Documents
QUIZ 1 Sec A 12102023 095513am
QUIZ 1 Sec A 12102023 095513am
QUIZ 1 Sec A 12102023 095513am
QUIZ 1
(a) Write a python program which takes a character from user and decides whether the input is vowel
or consonant. (1 mark)
(b) Write a python program which accepts the radius of a circle from the user and compute the area.
(1 mark)
(c) Write a python program which takes a integer input from user and then adds the digits in the
integer. For e.g when the number is 1234 the result is 1+2+3+4=10. (1 mark)