Recommended
PPTX
HT15, DA354A - Introduktion till Webbprogrammering - Bottle (2)
PPT
PPTX
PDF
In-Memory and TimeSeries Technology to Accelerate NoSQL Analytics
PPTX
I tsavvy ppt_introduction_internet_20150702
PPTX
Lithuanian classical writer
PPT
Jay Pandey & Associates - Firm Profile
PDF
PDF
DA354B - HT25 - Introduktion till programmering: Loopar och if-satser
PDF
DA354B - HT25 - Introduktion till programmering - Funktioner
PDF
DA354B - HT25 - Introduktion till programmering - Funktioner
PDF
DA354B - HT25 - Introduktion till programmering
PDF
DA354B - HT25 - Kursintroduktion: Introduktion till programmering
PDF
DA106A - HT25 - Introduktion till användbarhet (2)
PDF
DA106A - Introduktion till användbarhet (1)
PDF
DA106A - HT25 - Introduktion till ramverk
PDF
DA106A - Introduktion till webbutveckling - Introduktion till CSS
PDF
DA106A - Introduktion till webbutveckling - Formulär och tabeller
PDF
HT25 - DA106A - Introduktion till webbutveckling: HTML
PDF
Kursintroduktion - Introduktion till webbutveckling
PPTX
React - Gästföreläsning - Flerplattformsapplikationer
PDF
2025 - DA395A - Localstorage & cookies Geolocation Mediahantering.pdf
PDF
DA395A -jQuery och Ajax - Flerplattformsapplikationer med webbtekniker
PDF
VT25 - JavaScript och DOM - Flerplattformsapplikationer med webbtekniker
PDF
VT25 - DA395A - Kursintroduktion i Flerplattformsapplikationerm med webbtekniker
PDF
HT24 - DA354B - Introduktion till programmering - OOP
PDF
DA354B - Introduktion till programmering - Webbprogrammering
PDF
DA354B - Introduktion till programmering: Fil- och felhantering
More Related Content
PPTX
HT15, DA354A - Introduktion till Webbprogrammering - Bottle (2)
PPT
PPTX
PDF
In-Memory and TimeSeries Technology to Accelerate NoSQL Analytics
PPTX
I tsavvy ppt_introduction_internet_20150702
PPTX
Lithuanian classical writer
PPT
Jay Pandey & Associates - Firm Profile
PDF
More from Anton Tibblin
PDF
DA354B - HT25 - Introduktion till programmering: Loopar och if-satser
PDF
DA354B - HT25 - Introduktion till programmering - Funktioner
PDF
DA354B - HT25 - Introduktion till programmering - Funktioner
PDF
DA354B - HT25 - Introduktion till programmering
PDF
DA354B - HT25 - Kursintroduktion: Introduktion till programmering
PDF
DA106A - HT25 - Introduktion till användbarhet (2)
PDF
DA106A - Introduktion till användbarhet (1)
PDF
DA106A - HT25 - Introduktion till ramverk
PDF
DA106A - Introduktion till webbutveckling - Introduktion till CSS
PDF
DA106A - Introduktion till webbutveckling - Formulär och tabeller
PDF
HT25 - DA106A - Introduktion till webbutveckling: HTML
PDF
Kursintroduktion - Introduktion till webbutveckling
PPTX
React - Gästföreläsning - Flerplattformsapplikationer
PDF
2025 - DA395A - Localstorage & cookies Geolocation Mediahantering.pdf
PDF
DA395A -jQuery och Ajax - Flerplattformsapplikationer med webbtekniker
PDF
VT25 - JavaScript och DOM - Flerplattformsapplikationer med webbtekniker
PDF
VT25 - DA395A - Kursintroduktion i Flerplattformsapplikationerm med webbtekniker
PDF
HT24 - DA354B - Introduktion till programmering - OOP
PDF
DA354B - Introduktion till programmering - Webbprogrammering
PDF
DA354B - Introduktion till programmering: Fil- och felhantering
HT15, DA354A - Iteration och selektion - Extra 1. 2. 3. For-loop
• Går igenom alla ”saker” i en lista
• Lista är en datatyp som innehåller flera värden, avgränsade med kommatecken, t.ex.
• [0, 1, 2, 3, 4]
• [”Äpple”, ”Banan”, ”Apelsin”, ”Kiwi”]
• [False, True, True, False]
5. Generera nummerlistor?
• Istället för att själva skapa våra listor, kan vi generera nummerlistor genom
funktionen range()
• range() skapar en lista med nummer, t.ex. om vi vill skapa listan:
• [0, 1, 2, 3, 4]
• Så kan vi skriva:
• range(0, 5)
• Detta innebär att vi skapar en lista som börja på 0 och går till 4 (ökar stegvis med 1)
6. 7. 8. 9.