Python Program#2 Input two numbers and display the larger / smaller number.

Published: 10 November 2020
on channel: Code with Shubhali
315
5

This video is about python program to input two numbers and display the larger / smaller number.

Algorithm to Input two numbers and display the larger number.
==================================================
Step1: Get the 2 inputs from the user
Step 2: Check whether the first value is greater than the second value
Step 3: If yes, print the first value
Step 4: Check whether the second value is greater than the first value
Step 5: If yes, print the second value
Step 6: Else, print both are equal
Step 7: End

Algorithm to Input two numbers and display the smaller number.
====================================================
Step1:  Get the 2 inputs from the user
Step 2: Check whether the first value is smaller than the second value
Step 3: If yes, print the first value
Step 4: Check whether the second value is smaller than the first value
Step 5: If yes, print the second value
Step 6: Else, print both are equal
Step 7: End


On this page of the site you can watch the video online Python Program#2 Input two numbers and display the larger / smaller number. with a duration of hours minute second in good quality, which was uploaded by the user Code with Shubhali 10 November 2020, share the link with friends and acquaintances, this video has already been watched 315 times on youtube and it was liked by 5 viewers. Enjoy your viewing!