User Profile
Collapse
-
I am interested to Work with GEM5 so for that i am learning Python and the environment suits me is ubuntu -
How to write and save program from Terminal
I am using ubuntu how I write my program from terminal to file and then how I open python file in terminal to run.
Where should be file saved -
Indented block error
I could understand yet what indent mean, how to write a block of code in example.
IndentationErro r: expected an indented block
Code:>>> for letter in 'Python': # First Example ... if letter == 'h': ... print letter File "<stdin>", line 3 print letter ^ IndentationError: expected an indented block
No activity results to display
Show More
Leave a comment: