Fixed string output and lab3.py
Fixed string output and lab3.py