Monday, 4 May 2020

If Expressions in Python

Prerequisite:

if else command | Python 
https://www.youtube.com/watch?v=9GJWK...

Java code used in this video:

import java.util.*;
public class Hello {
public static void main(String args[])
{
 Scanner obj=new Scanner(System.in);
 int x=obj.nextInt();
 String s=(x%2==0)?"Even":"Odd";
 System.out.println(s);
}
}

Python for beginners:
https://www.youtube.com/watch?v=egq7Z...

Telegram: https://t.me/clcoding_python 
https://www.facebook.com/pirawenpython/ 
https://www.facebook.com/groups/piraw...

0 Comments:

Post a comment

Popular Posts

Categories

Android (21) AngularJS (1) Assembly Language (2) Books (10) C (75) C# (4) C++ (81) Data Strucures (4) Downloads (1) Engineering (13) FPL (17) Hadoop (1) HTML&CSS (38) IS (25) Java (87) Leet Code (4) PHP (20) Python (214) R (69) Selenium Webdriver (2) Software (14) SQL (27)