我在修改Intellij12.04中的依赖项时遇到问题.
在我的项目文件夹下,我有两个模块,第二个模块取决于第一个:
我想从abctests中删除一个依赖项并将其添加到abcsomebusiness模块中,但我不想创建循环依赖树.当我尝试从abctests模块中删除依赖项并将其添加到abcsomebusiness模块时,我收到以下错误:
"源根"C:\ Perforce\depot\Projest\Main\abctests\src\test"无法在模块"Main"中定义,因为它属于嵌套模块"abctests"的内容"
我不知道如何解决这个问题.任何人都可以提出一种方法来解决我收到的错误吗?
当我运行以下代码时,出现错误:“IndentationError:unident 与任何外部缩进级别不匹配”。
我究竟做错了什么?我在下面包含了我的代码以供参考:
file=open('csquetionseasy.txt','r')
print(file.read(432))
answersinputeasy=input('enter the letter responding to the correct answer for all 3 questions e.g. BBB')
if answersinputeasy==('BAA'):
print('you got 3/3!')
else:
if answersinputeasy==('BAB'):
print('2/3!')
else:
if answersinputeasy==('BBB'):
print('1/3!')
else:
if answersinputeasy==('ABB'):
print('0/3!')
else:
if answersinputeasy==('AAB'):
print('1/3!')
else:
if answersinputeasy==('AAA'):
print('2/3!')
else:
if answersinputeasy==('ABA'):
print('1/3!')
Run Code Online (Sandbox Code Playgroud)