📖 generic · 12th TN - English Medium · COMPUTER SCIENCE · Page 73question

CONTROL STRUCTURES · Part 11

Chapter 2: 3 · COMPUTER SCIENCE

group statements no need to use {}. • Python Interpreter will throw error for all indentation errors. • To accept input at runtime, earlier versions of Python supported (), latest versions support input(). • print() supports the use of escape sequence to format the output to the user’s choice.

• range() is used to supply a range of values in for loop. • break, continue, pass act as jump statements in Python. • pass statement is a null statement, it is generally used as a place holder. Points to remember: 12th Computer Chapter - - Hands on Experience .

Write a program to check whether the given character is a vowel or not. . Using if..else..elif statement check smallest of three numbers. .

Write a program to check if a number is Positive, Negative or zero. . Write a program to display Fibonacci series …… (upto n terms) . Write a program to display sum of natural numbers, upto n.

. Write a program to check if the given number is a palindrome or not. . Write a program to print the following pattern * * * * * * * * * * * * * * * .

Write a program to check if the year is leap year or not.

Related topics

Have a question about this topic?

Get an AI answer grounded in your actual textbook — with the exact page reference.

Ask AI about this topic →