
Sign up to save your podcasts
Or


Welcome to Coding 101 - It's the TWiT show that gives YOU the knowledge to live in the wonderful world of the programmer. This week we are introducing our newest module, Python with Code Warrior Dale Chase!
To see all the code used in today's episode, go to Our Github Repository for Module 2
Printing Everything within a List:The way we've been printing lists is to use a "for loop" to print everything within the list:
podcasters = ['Leo','Lisa','Padre', 'Snubs', 'Bryan', 'OMGchad']
for entries in range (0,6):
- print podcasters[entries]
If we JUST wanted to know the contents of the list:
mylist = [142, 512, 'dog', 'cat', 'bird', 123]
print mylist
Sorting the List
SortMe = [1, 23, 6, 4, 99]
for entries in range (0,5):
- print SortMe[entries]
raw_input ("Press Enter")
SortMe.sort();
for entries in range (0,5):
- print SortMe[entries]
NON-DESTRUCTIVE SORTING
podcasters = ['Leo','Lisa','Padre', 'Snubs', 'Bryan', 'OMGchad', 1234]
print podcasters
print "Woot, let's sort!"
sortedpodcasters = sorted(podcasters)
raw_input("Press Enter to Continue")
print podcasters
print sortedpodcasters
podcasters = ['Leo','Lisa','Padre', 'Snubs', 'Bryan', 'OMGchad', 1234]
print sorted(podcasters)
Tuples
twit_tuples = [
('Padre', 'TWiET', 72),
('Snubs', 'C101', 22),
('Bryan', 'KnowHow', 6),
]
print twit_tuples
Sorting Tuples
twit_tuples = [
('Padre', 'TWiET', 72),
('Snubs', 'C101', 22),
('Bryan', 'KnowHow', 6),
]
print sorted(twit_tuples, key=lambda twit: twit[2])
Hosts: Fr. Robert Ballecer, SJ and Shannon Morse
Guest: Dale Chase
Bandwidth for Coding 101 is provided by CacheFly.
Sponsors:
Chad demonstrates Captive Minecraft, where you need to complete achievements to expand the border around you.
Host: Chad Johnson
Follow us on YouTube: https://www.youtube.com/omgcraft
Thanks to CacheFly for the bandwidth for this show.
Amber & Sarah chat with Patreon Co-Founder and Pomplemoose star Jack Conte about artists, music, and making the most money possible, Pinterest rolls out ads, mute Twitter users without unfollowing, & more!
Hosts: Amber MacArthur and Sarah Lane
Guest: Jack Conte
Download or subscribe to this show at https://twit.tv/shows/social-hour.
Bandwidth for The Social Hour is provided by CacheFly.
Sponsor:
The FCC meets to decide the future of net neutrality in the United States, Google gets flooded with take-down requests in Europe to remove links, Apple's acquisition of Beats misses a beat, and more.
Hosts: Mike Elgan and Jason Howell
Guests: Robert Hernandez, Sebastian Anthony, Jon Healey, Alex Wilhelm, and Julian Hattem
Download or subscribe to this show at https://twit.tv/shows/tech-news-today.
Check out the full show notes for today's episode.
Thanks to CacheFly for the bandwidth for this show.
Sponsor:
Paper you can write on when its wet, Glue Dots adhesives, decorative LED ice cubes, and more.
Hosts: Dick DeBartolo and Chad Johnson
Download or subscribe to this show at https://twit.tv/shows/weekly-daily-giz-wiz.
For more details and a chance to win the Mad Magazine "What The Heck Is It?" contest, visit GizWiz.Biz.
Bandwidth for The Giz Wiz is provided by CacheFly.
Sponsor:
The right to be forgotten on Google, the real cost of Glass, things to look for at I/O, and more.
Hosts: Leo Laporte, Gina Trapani, and Jeff Jarvis
Download or subscribe to this show at https://twit.tv/shows/this-week-in-google.
Thanks to CacheFly for the bandwidth for this show.
Sponsors:
How the NSA used Skype and Outlook in data collection, photos from inside an NSA intercept room, Glenn Greewald's book on Edward Snowden is released, Google must comply with the "right to be forgotten," Snapchat tops Whatsapp in the U.S., Surface Pro 3 might be unveiled, reports of iPhone 6 in testing with larger screen, Microsoft makes changes to the Xbox One, George R. R. Martin uses a DOS computer to write 'Game of Thrones,' and Flappy Bird to return as a less addictive version.
Host: Sarah Lane
Guest: Bridget Carey
Download or subscribe to this show at https://twit.tv/shows/tech-news-2night.
Bandwidth for Tech News 2Night is provided by CacheFly.
All the news from TechEd, a cheaper Xbox One without Kinect, Surface Pro 3, Outlook.com update, and more.
Hosts: Paul Thurrott, Mary Jo Foley, and Leo Laporte
Download or subscribe to this show at https://twit.tv/shows/windows-weekly.
Check out Paul's blog at the SuperSite for Windows.
Check out Mary Jo's blog at the AllAboutMicrosoft.com.
Thanks to CacheFly for the bandwidth for this show. The Windows Weekly theme music is courtesy of Derek K. Miller.
Sponsors:
8Tracks is human-powered playlist fun, Square Order for pickup replaces Wallet Facebook kills Poke and Camera, Moju is like Instagram for 3D stop motion, & more!
Host: Sarah Lane
Thanks to CacheFly for the bandwidth for this show.
The Digital Public Library of America brings together the riches of America's libraries, archives, and museums, and makes them freely available to the world.
Mark A. Matienzo is the Director of Technology for the Digital Public Library of America, Mark Breedlove is the Technical Specialist for the Digital Public Library of America.
Hosts: Randal Schwartz and Dan Lynch
Guests: Mark A. Matienzo and Mark Breedlove
Download or subscribe to this show at https://twit.tv/shows/floss-weekly.
Here's what's coming up for FLOSS in the future. Think your open source project should be on FLOSS Weekly? Email Randal at [email protected].
Thanks to CacheFly for providing the bandwidth for this podcast, and Lullabot's Jeff Robbins, web designer and musician, for our theme music.
From the publisher's feed
Dig into the TWiT.tv archives and enjoy episodes from ten years ago. It's a tech time machine!
Please note that these episodes are from ten years ago, so URLs, products, and other information may be very outdated. Sponsor codes and offers may no longer be valid.

202 Listeners

78 Listeners

358 Listeners

8 Listeners

3 Listeners

7 Listeners

3 Listeners