Chromakey - PowerPoint PPT Presentation

1 / 5
About This Presentation
Title:

Chromakey

Description:

If you want to take exactly one of several choices than you use elif. if (age 18) ... eligible to vote for a while' elif (age==18): print 'Hey, you can vote ... – PowerPoint PPT presentation

Number of Views:83
Avg rating:3.0/5.0
Slides: 6
Provided by: BenSc
Category:
Tags: chromakey | elif

less

Transcript and Presenter's Notes

Title: Chromakey


1
Session 18
  • Chromakey

2
Review from last time
  • In an if statement you can join multiple
    conditions by using and, or, or not
  • xlty and xltz
  • agtb or agtc
  • To negate something, use not
  • not rq (which is the same as r!q

3
Review from last time
  • If you want to take exactly one of several
    choices than you use elif
  • if (agegt18)
  • print You have been eligible to vote for a
    while
  • elif (age18)
  • print Hey, you can vote now
  • else
  • print One of these days, you can vote

4
ChromaKey
  • You have all seen TV weather reports where they
    use ChromaKey to put a background behind the
    reporter

5
I want to do that!
Write a Comment
User Comments (0)
About PowerShow.com