temp = int(input("What is the temperature? "))
Code Avengers frequently asks learners to take input, which works differently between Python versions. Ask the user for their age. Answer (Python 2 approach): code avengers answers python 2 new
Before diving into specific answers, let’s map the terrain. The new Python 2 course generally covers: temp = int(input("What is the temperature