Python tutorial #3 || Python: Division - HackerRank solution

Publicado em: 29 Maio 2021
no canal de: LearnIT
2,940
35

Python tutorial #3 || Python: Division - HackerRank solution


In this video we are going to learn python Division both integer division and float division statement, by solving HackerRank problem (Python Division).
This series helps you to get python certificate on hackerrank, which adds weight to your resume and helps to get placed in a good company

Python tutorial #2 || Python IF-ELSE - HackerRank solution :-
   • Python tutorial #2 || Python IF-ELSE - Hac...  

Problem link :-
https://www.hackerrank.com/challenges...


HackerRank Question:-

The provided code stub reads two integers, and , 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 division, a/b .

Example

The result of the integer division .
The result of the float division is .
Print:
0
0.6
Input Format
The first line contains the first integer, .
The second line contains the second integer, .
Output Format
Print the two lines as described above.
Sample Input 0
4
3
Sample Output 0
1
1.33333333333


#python
#hackerrank
#tutorial
#learnIT
#pythonforbeginners
#hackerranksolutions


Nesta página do site você pode assistir ao vídeo on-line Python tutorial #3 || Python: Division - HackerRank solution duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário LearnIT 29 Maio 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 2,940 vezes e gostou 35 espectadores. Boa visualização!