8 simple python practical exercises for getting started with python for CBSE class 11

A list of practical activities for Getting started with python contains a list of programs of python for class 11 computer science and informatics practices.

1 Download the latest version of Python from www.python.org. If you don’t have a computer or laptop, download this app on your smartphone. Click here to download the app.

2 Write the following simple statements in python interactive mode and take a screenshot of it including the output.

  1. 11 + 67
  2. 34 + 89 – 34
  3. (24 / 2) + (89%4)
  4. 11 * 5 – (22 * 2)
  5. 25 ** 3 + (26 **3)
  6. 23 // 5 % 2
  7. 5 < 3
  8. 8 > 13
  9. 21 < 12 and 5 > 2 or a ==’A’
  10. 23 != 25 and 26 == 26

3 Write a statement to print your favorite poem command in python. Use “\n” to print the next line. (Without indentation)

4 Write a statement to print a table of 5 using “\t” and “\n”.

5 Write a python statement to repeat the word “Python” three times using a variable and * operator.

6 Write a python statement to accept your first name, last name, and surname in three variables and join them using print() function.

7 Write a python statement to display your name and address both in a single line.

8 Write a statement to print your favorite poem command in python. Use “\n” to print the next line with a proper indentation.

Click here to return on main page of class 11.

Comment Your Views

%d bloggers like this: