AI Practical
AI Practical
3 Write a program to find the maximum number out of the given three
numbers.
4 An electric power distribution company charges its domestic
consumers as follows :
Write a program that read the customer number & power consumed
and prints the amount to be paid by the customer. Note that output
should be well formatted.
5 Write a program to print a multiplication table of the entered
number.
6 Write a program to generate the following pattern:
2 3
4 5 6
7 8 9 10
7 Write a program to find the factorial value of a given number.
No Practical Date Signature
8 Write a program to create 2 D and 3 x 3 array using numpy.
13 Visit https://www.w3schools.com/colors/colors_rgb.asp.
On the basis of this online tool, try and write answers of all the
below-mentioned questions.
• What is the output colour when you put R=G=B=255?
• What is the output colour when you put R=G=255,B=0?
• What is the output colour when you put R=255,G=0,B=255?
• What is the output colour when you put R=0,G=255,B=255?
• What is the output colour when you put R=G=B=0?