Hi, I am new to the python course. I downloaded the latest version of python and have it installed. Now I tried to work on the excercise 2 from the intermediate expression course. I don´t know but somehow the way Dr. Severance showed how to convert strings into integer doesn´t work when I tried it myself. Does anyone has an idea?
I just wrote it into py interpreter. Should I save it in file first? Because I´m not that far in the py course where they talk about saving anything in files
Either is fine, just different actions might be needed to figure out what’s happening.
Can you check what’s the x variable after it’s entered with the line below? If this is interpreter then either just using variable name, or printing it out, should show the value.
You cannot write in the interpreter - the interpreter is a program that is interpreting text as Python code. You can only use different environments to write that text. Like the Python-IDLE shell is propably the most basic thing. But even there I can run your code line by line.