PT Ex.11 Flashcards
1
Q
Why do you have a comma at the end of a string/print line?
A
So that print doesn’t end the line. And go to the next line
2
Q
How to add the directory to Windows Path?
A
Type following command into command prompt.
set path=%path%;C:\python26
3
Q
What to type to exit Python Interpreter?
A
Control-D on Unix
Control-Z on Windows
You can also exit the interpreter by typing: quit()