Page 161 - Plus_V2.2_C8_Flipbook
P. 161

You will get the following output:                                                  Factopedia




















                                             Tech Fact                                          1.4% of all websites

                      There are around 700 separate programming languages.                      on the Internet use
                         Some of the most popular ones are Javascript, Swift,                  Python as a server-
                             Scala, Python, PHP, Go, Rust, Ruby, and C#.                        side programming
                                                                                                    language.






                           Let’s BaCk-uP


                       Functions help us to break our program into smaller pieces
                      or modules.                                                              If you get to the IDLE
                                                                                                and type in import

                       Python functions can be categorised into in-built functions
                      and user-defined functions.                                              antigravity, it opens
                                                                                               up a web page with
                       A consecutive sequence of characters that are enclosed or                a comic about the
                      surrounded by single (‘ ’) or double (“ ”) quotes is known as
                      a string.                                                                antigravity module.











                                                                                                   The name of
                                                                                                    the Python
                                                                                                  programming
                                                                                                 language comes
                                                                                                 from an old BBC
                                                                                                television comedy
                                                                                               sketch series called
                                                                                                 Monty Python's
                                                                                                  Flying Circus.




                                                                                      Functions and String in Python  159
   156   157   158   159   160   161   162   163   164   165   166