37.
Write a Python program to display your details like name,
age, address in three different lines. Go to the editor
Click me to see the sample solution
38. Write a Python program to solve (x + y) * (x + y). Go to the
editor
Test Data : x = 4, y = 3
Expected Output : (4 + 3) ^ 2) = 49
Click me to see the sample solution
39. Write a Python program to compute the future value of a
specified principal amount, rate of interest, and a number of
years. Go to the editor
Test Data : amt = 10000, int = 3.5, years = 7
Expected Output : 12722.79
Click me to see the sample solution
40. Write a Python program to compute the distance between
the points (x1, y1) and (x2, y2). Go to the editor
Click me to see the sample solution
41. Write a Python program to check whether a file exists. Go
to the editor
Click me to see the sample solution
42. Write a Python program to determine if a Python shell is
executing in 32bit or 64bit mode on OS. Go to the editor
Click me to see the sample solution
43. Write a Python program to get OS name, platform and
release information. Go to the editor
Click me to see the sample solution
44. Write a Python program to locate Python site-
packages. Go to the editor
Click me to see the sample solution
45. Write a python program to call an external command in
Python. Go to the editor
Click me to see the sample solution
46. Write a python program to get the path and name of the
file that is currently executing. Go to the editor
Click me to see the sample solution
47. Write a Python program to find out the number of CPUs
using. Go to the editor
Click me to see the sample solution
48. Write a Python program to parse a string to Float or
Integer. Go to the editor
Click me to see the sample solution
49. Write a Python program to list all files in a directory in
Python. Go to the editor
Click me to see the sample solution