Loading [MathJax]/extensions/mml2jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Physics LibreTexts

Search

  • Filter Results
  • Location
  • Classification
    • Article type
    • Author
    • Cover Page
    • License
    • Show TOC
    • Transcluded
    • OER program or Publisher
    • Student Analytics
    • Autonumber Section Headings
    • License Version
    • Print CSS
      • Screen CSS
      • PrintOptions
    • Include attachments
    Searching in
    About 1 results
    • https://phys.libretexts.org/Courses/Berea_College/Introductory_Physics%3A_Berea_College/28%3A_The_Python_Programming_Language/28.05%3A_Advanced_topics
      We can modify the code above slightly so that, if the argument to the function, x, is an array, the function will gracefully return an array of numbers to which the function has been applied. The valu...We can modify the code above slightly so that, if the argument to the function, x, is an array, the function will gracefully return an array of numbers to which the function has been applied. The value of i is 0 The value of i is 1 The value of i is 2 The value of i is 3 The value of i is 4 The value after the keyword for is the “iterator” variable and will have a different value each time that the code inside of the loop is run (in our case, we called the variable i)

    Support Center

    How can we help?