filmov
tv
Python tutorial #2 || Python IF-ELSE - HackerRank solution
Показать описание
Python tutorial #2 || Python IF-ELSE - HackerRank solution
In this video we are going to learn python if else statement, by solving HackerRank problem (Python IF-ELSE). With this we can learn basic if-else conditions in python.
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
---- Contents of the video -----------
0:00 - Intro
0:04 - Problem statement
1:08 - Sample Testcases
1:37 - Solution
Question :-
Given an integer, , 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 of 6 to 20, print Weird
If n is even and greater than 20, print Not Weird
Input Format
A single line containing a positive integer, .
Output Format
Print Weird if the number is weird. Otherwise, print Not Weird.
Sample Input 0
3
Sample Output 0
Weird
#python
#hackerrank
#tutorial
#learnit
#pythonforbeginners
#hackerranksolutions
#certificate
In this video we are going to learn python if else statement, by solving HackerRank problem (Python IF-ELSE). With this we can learn basic if-else conditions in python.
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
---- Contents of the video -----------
0:00 - Intro
0:04 - Problem statement
1:08 - Sample Testcases
1:37 - Solution
Question :-
Given an integer, , 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 of 6 to 20, print Weird
If n is even and greater than 20, print Not Weird
Input Format
A single line containing a positive integer, .
Output Format
Print Weird if the number is weird. Otherwise, print Not Weird.
Sample Input 0
3
Sample Output 0
Weird
#python
#hackerrank
#tutorial
#learnit
#pythonforbeginners
#hackerranksolutions
#certificate
Python Tutorial 2: Understanding and Using Python Lists and Arrays
How to Use If Else Statements in Python (Python Tutorial #2)
Python Programming Tutorial #2 - Basic Operators and Input
Numbers in Python Version 2 || Python Tutorial || Learn Python Programming
Python Tutorial - Python Full Course for Beginners
Python for Beginners - Learn Python in 1 Hour
Installing Python & PyCharm | Python | Tutorial 2
Python Tutorial deutsch [2/24] - Zahlen in Python
Problem_25: Exporting DataFrame to CSV - DataFrames in Pandas Library #ai#coding #ml #data #pro
Python OOP Tutorial 2: Class Variables
Some Amazing Python Programs - The Power of Python | Python Tutorial - Day #2
30 Days of Python - Day 2 - Numbers, Variables and Strings - Python TUTORIAL
Expert Python Tutorial #2 - Dunder/Magic Methods & The Python Data Model
Python Programming Tutorial - 2 - Numbers
Python for Beginners – Full Course [Programming Tutorial]
Conditional Statements (if, elif, else) in Python - Beginner Python Tutorial #2
Python Beginner Project Tutorial #2 - Mastering the Basics
Python Tutorial for Absolute Beginners #1 - What Are Variables?
Classes and Objects with Python - Part 2 (Python Tutorial #10)
Tutorial 2 - Python List and Boolean Variables
Python Tutorial for Beginners 2: Strings - Working with Textual Data
Learn Python - Full Course for Beginners [Tutorial]
Python Tutorial Italiano - Corso Python da PRINCIPIANTE ad ESPERTO in 2 Ore
Learn Python in Less than 10 Minutes for Beginners (Fast & Easy)
Комментарии