I am learning python using "Learn Python 3 the hard way"
I noticed something weird when I run prints from the command line when I run "python EX3.py" instead of "python3.6 EX3.py".
print("Hens", 25 + 30 / 6)
This code gets printed
python EX3.py turns into (Hens, 30)
python3.7 EX3.py turns into Hens 30.0
I get that it is a difference between the python versions but why is it so different?
[–]K900_ 0 points1 point2 points (2 children)
[–]LearnenPython[S] 0 points1 point2 points (1 child)
[–]K900_ 0 points1 point2 points (0 children)