My answers to the exercises
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
=pod | |
=head1 NAME | |
normalize string - Format a string based on set of rules. | |
=head1 SYNOPSIS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
NAME | |
**** | |
normalize string - Format a string based on set of rules. | |
SYNOPSYS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import turtle | |
def draw(size): | |
window = turtle.Screen() | |
window.bgcolor('white') | |
t = turtle.Turtle() | |
t.shape("triangle") | |
t.color("blue") | |
t.speed(10) |