The Pycharm and Python functions don't match. What should I do?

0 votes
Hello, I am quite new to python or pycharm. I just started studying. I have PowerShell, python and pycharm. When I try to receive output in PowerShell such as for example >>>2+4 it gives me 6 right back, But when I try the same in pycharm it does nothing when I press run unless I write the print function (print(2+4)). What should I do?
Apr 5 in Python by anonymous
• 120 points
Hey, @Mariam,

Can you please tell what exactly is not happening in your Pycharm? What exactly you are trying to do? It will be easy for me to help you then.

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Python

0 votes
1 answer
+1 vote
1 answer

What is the difference between range and xrange functions in Python 2.X?

xrange only stores the range params and ...READ MORE

answered Aug 22, 2018 in Python by Priyaj
• 57,530 points
0 votes
1 answer
0 votes
1 answer

What to do when I get and error saying python not recognized as internal or external command?

You need to set up the path ...READ MORE

answered May 28, 2019 in Python by Fata
• 1,050 points
0 votes
1 answer

What is the difference between str() and repr() functions in Python?

str() is mostly used to create output ...READ MORE

answered Jul 8, 2019 in Python by Arvind
• 2,980 points
0 votes
1 answer

How can I find out the index of an element from row and column in Python?

You probably want to use np.ravel_multi_index: [code] import numpy ...READ MORE

answered Apr 16, 2018 in Python by charlie_brown
• 7,760 points
0 votes
1 answer
+1 vote
1 answer

PyCharm Error Loading Package list

You can try doing the following : go ...READ MORE

answered Jan 9, 2019 in Python by ana1504.k
• 7,890 points
+1 vote
2 answers

How to install tkinter in pycharm?

Ya, this is a problem with installing ...READ MORE

answered Apr 3, 2019 in Python by Jishan