I am Vysakh. I am a web developer. In Ruby puts “Hello world” Ruby is simply simple Just like english Variables You have - basket A with 10 apples - basket B with 20…