AI practical file
AI practical file
Write a python program to take 3 numbers from the user and display product of those
numbers.
Sample Output
2. Write a python program to take radius of a circle and print perimeter and area of the
circle.
Sample Output
3. Write a program to print factorial of a number
Sample Output
4. Write a program to print sum of even and odd integers of first n natural numbers.
Sample Output
5. Write a python program to print table of a number given by the user as an input.
Sample Output
6. Write a python program to check whether a number is Armstrong or not
Sample Output 1
Sample Output 2
7. Write a program in Python to find the largest and smallest element in a list.
Sample Output
Sample Output
9. Write a program to create a 2D array using NumPy.
Sample Output
10. Write a program to calculate mean, median and mode of the given data
[5,6,1,3,4,5,6,2,7,8,6,5,4,6,5,1,2,3,4]
Sample Output