By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,035 Members | 1,984 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,035 IT Pros & Developers. It's quick & easy.

IndentationError: expected an indented block

P: n/a
C:\Users\Bekim>C:\Users\Bekim\Desktop\ass1.py
File "C:\Users\Bekim\Desktop\ass1.py", line 14
print("invalid Input")
^
IndentationError: expected an indented block

something wrong with this code

print("invalid Input")
^

but i really dont know whats wrong with it can you please anyone help me
Nov 15 '10 #1
Share this Question
Share on Google+
1 Reply


bvdet
Expert Mod 2.5K+
P: 2,851
It's the line preceding line 14 that is causing the problem, or you did not indent line 14. It would help us help you if you would post the code.
Nov 15 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.