Modernize turtledemo with conditional expressions; remove duplicate line.
Merge with 3.4