I have created a small python script which I call from another shell script to calculate average value from the data in a file and I’m returning this average value back to a shell script variable. Here’s my code: However, when I print the value stored in the shell variable it shows the previous print text as well! Average of