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

Опубликовано: 29 Май 2021
на канале: 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


На этой странице сайта вы можете посмотреть видео онлайн Python tutorial #3 || Python: Division - HackerRank solution длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь LearnIT 29 Май 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 2,940 раз и оно понравилось 35 зрителям. Приятного просмотра!