No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I get goosebumps when I hear or see anything about tech
- Interests
- Software and Web development. Computer animation. Graphic design.
- PC Specs
- Intel Quad-Core i5 2500-K with an ATI Radeon HD 6670 and 8 gigs of RAM. Running a 1 TB HDD with Debian…
I am reading a doc I found online about Perl, I am learning it for a project, and I was studying code that converts currency. The code: #!/usr/bin/perl use warnings; use strict; my ($number_to_convert, $first_currency, $second_currency, $rate, %rates); %rates = ( pounds => 1, dollars => 1.6, marks => 3.0, … |
|
Well, here is my code: print "Welcome to the English to Pig Latin translator!" original = raw_input("Please enter a word: ") pyg = "ay" if len(original) >= 1 and original.isalpha() word = original.lower() first = word[0] if word == a or e or i or o or u print "Your … |