Skip to content

SL TECH ACADEMY

Contact us
  • Home
  • C++
  • Pyhton
  • Java
  • Networking
  • Problem Solving
    • Algorithms
    • Data Structures
  • Contests
    • IOI
    • APIO
    • Google
      • Code Jam
      • Hash Code
      • Kick Start
  • Resources

SL TECH ACADEMY

Tag: python

  • Pyhton

Python Division – HackerRank Solution

imageByPasindu Piumal2020-08-08
Python Division – HackerRank Solution
Problem : The provided code stub reads two integers, a and b, from STDIN. Add logic to print two lines. The first line should contain the result of integer division, a // b. The second line should contain the result of float

Read More

  • Pyhton

Arithmetic Operators – HackerRank Solution

imageByPasindu Piumal2020-08-08
Arithmetic Operators – HackerRank Solution
Problem : The provided code stub reads two integers from STDIN, a and b. Add code to print three lines where: The first line contains the sum of the two numbers. The second line contains the difference of the two numbers (first – second). The third line

Read More

  • Pyhton

Python If-Else – HackeRank Solution

imageByPasindu Piumal2020-08-07
Python If-Else – HackeRank Solution
Problem : Given an integer, n, perform the following conditional actions: If n is odd, print Weird If n is even and in the inclusive range of 2 to 5, print Not Weird If n is even and in the inclusive range

Read More

  • Pyhton

Say “Hello, World!” With Python – HackerRank Solution

imageByPasindu Piumal2020-08-07
Say “Hello, World!” With Python – HackerRank Solution
Problem : Here is a sample line of code that can be executed in Python: You can just as easily store a string as a variable and then print it to stdout: The above code will print Hello, World! on your screen. Try it yourself in the editor below! Input Format : You

Read More

Last Posts

Chef and Meetings – Codechef Solution – February Challenge 2021 Division 3

2021-02-08

Codeforces Round 697 – Ball in Berland Solution

2021-01-27

Codeforces Round 697 – New Year’s Number Solution

2021-01-27

Codeforces Round 697 – Odd Divisor Solution

2021-01-27
IOI 2020

IOI 2020 – Contest Day 1- Tickets Problem and Solution

2020-09-24

Archives

  • February 2021 (1)
  • January 2021 (3)
  • September 2020 (10)
  • August 2020 (68)
  • July 2020 (18)
Created by SL TECH ACADEMY. Powered by WordPress
Logo
  • Home
  • C++
  • Pyhton
  • Java
  • Networking
  • Problem Solving
    • Algorithms
    • Data Structures
  • Contests
    • IOI
    • APIO
    • Google
      • Code Jam
      • Hash Code
      • Kick Start
  • Resources