Python Forum
Not working in PyCharm, Is this IDE specific ?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not working in PyCharm, Is this IDE specific ?
#1
I try running this-

>>>test = [[1, 2 , 3 ,4 ,5 ,6 ,7 ,8 ,9 ,10],['a' ,'s' ,'d' ,'f' ,'g' ,'h' ,'j' ,'k' ,'l' ]]

>>>test[1]

Works great in IDLE but give no output in PyCharm (just get this- Process finished with exit code 0)

Why please ?

Not working in PyCharm, Is this IDE specific ?
Reply
#2
Are you in command mode in pycharm?
if not, you need to print it:
print(test[1])
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020