Page 77 - 2619_PlusGPT V2.1_C-8
P. 77

Some More Python Editors

                 There are many Python editors, both online and offline, that you can use for writing and running your
                 code. Here are a few popular options:


                                Online Editor                              Link

                             W3Schools            https://www.w3schools.com/python/

                             Replit               https://replit.com/languages/python3
                             Python Tutor         https://pythontutor.com/

                             Google Colab         https://colab.research.google.com/

                             Trinket              https://trinket.io/python

                             Paiza.IO             https://paiza.io/en/languages/python3



                         Offline Editor                                    Link

                       Spyder              https://www.spyder-ide.org/download

                       Thonny              https://thonny.org/
                       Mu Editor           https://codewith.mu/

                       IDLE                https://www.python.org/downloads/

                       VS Code             https://code.visualstudio.com/docs/languages/python

                       PyCharm             https://www.jetbrains.com/pycharm/download/?section=windows



                        INPUT AND OUTPUT


                 Python provides two commonly used functions input() and print() for input and output.


                      The input() Function

                 The input() function takes the user’s input while a program executes. The general syntax of the input()

                 function is as follows:

                 input([<prompt>])
                 Here, prompt is the string or message we wish to display on the screen. Example:

                    name = input("Enter your name: ")

                   >>> Enter your name: "Mohan"








                                                                                             Introduction to Python  75
   72   73   74   75   76   77   78   79   80   81   82