About Me
Hello my name is Andrew. I'm from Belarus, Minsk. Study at College Business and Law at the Faculty of Information Technology Software. My strengths: communication, perseverance. I want to become a Full Stack developer in a bundle of Ruby + JavaScript.
Work Experience
- There is no work expiriense in IT
- Educational project: MY CV
Skills & Proficiency
C++
Ruby
Python
HTML5 & CSS
Bootstrap
Git
Code Examples
Ruby. Regex validate PIN code 7kyu
def validate_pin(pin)
if pin.length == 4 && pin =~ /^[0-9]*$/
true
elsif pin.length == 6 && pin =~ /^[0-9]*$/
true
elsif pin =~ /^[a-z]*$/ || pin.length == 0
false
else
false
end
end
Ruby. Basic Mathematical Operations 8kyu
def basic_op(operator, value_1, value_2)
if operator == "+"
value_1 + value_2
elsif operator == "-"
value_1 - value_2
elsif operator == "*"
value_1 * value_2
elsif operator == "/"
value_1 / value_2
end
end