Categories
Python

Hello World in Python Using PyCharm

 I simple tutorial on how to write a hello world program using Python using PyCharm.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following [email protected], [email protected], and [email protected]

My mobile number here in the Philippines is 09173084360.

Program Listing

# Hello_World.py
# Mr. Jake Rodriguez POmperada, MAED-IT, MIT
# www.jakerpomperada.com
# www.jakerpomperada.blogspot.com
# [email protected]
# Bacolod City, Negros Occidental Philippines


print("\tHello World.")
print()
print("\tWelcome To Python Programming")
print()
print("\tLearning Python is Fun.")
Categories
Python

Prime Number in Python

 Machine Problem

Write a python program to ask the user to give  a number and then the progam check and determine
whether the given number is a prime number or not.
I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.My email address is the following [email protected], [email protected], and [email protected] mobile number here in the Philippines is 09173084360.My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price. My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.comIf you like this video please click the LIKE button, SHARE, and SUBSCRIBE to my channel.Your support on my channel is highly appreciated.Thank you very much.








Program Listing


# Prime_Number.py
# Jake Rodriguez Pomperada,MAED-IT, MIT
# www.jakerpomperada.com
# www.jakerpomperada.blogspot.com
# [email protected]
# Bacolod City, Negros Occidental Philippines


# Machine Problem
# Write a python program to ask the user to give
# a number and then the progam check and determine
# whether the given number is a prime number or not.

print()
print("\tPrime Number in Python")
print()

num = int(input("\tGive a Number : "))

print()
if num > 1:
    for i in range(2, num):
        if (num % i) == 0:
            print("\tThe given number",num, "is not a prime number.")
            break
    else:
        print("\tThe given number",num, "is a prime number.")
else:
    print("\tThe given number",num, "is not a prime number.")
print()
print("\tEnd of Program")
print()
Categories
Python

Positive and Negative Number in Python

achine Problem

Write a python program to ask the user to give  a number and then the progam check and determine
whether the given number is positive,zero, and negative number.
I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.
My email address is the following [email protected], [email protected], and [email protected] mobile number here in the Philippines is 09173084360.My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price. 

My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.comIf you like this video please click the LIKE button, SHARE, and SUBSCRIBE to my channel.Your support on my channel is highly appreciated.Thank you very much.

Program Listing


# Factorial_Number.py
# Jake Rodriguez Pomperada,MAED-IT, MIT
# www.jakerpomperada.com
# www.jakerpomperada.blogspot.com
# [email protected]
# Bacolod City, Negros Occidental Philippines


# Machine Problem
# Write a python program to ask the user to give
# a number and then the progam check and determine
# whether the given number is positive,zero, and
# negative number.

print()
print("\tPositive and Negative Number in Python")
print()

num = int(input("\tGive a Number : "))

print()
if num >= 0:
   if num == 0:
       print("\tThe given number",num, "is Zero.")
   else:
       print("\tThe given number" ,num, "is Positive number.")
else:
   print("\tThe given number" ,num, "is Negative number.")
print()
print("\tEnd of Program")
print()
Categories
Python

Factorial Number in Python

Machine Problem

Write a python program to ask the user to give a number and then the progam will computer the
factorial value of the given number.
I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.
My email address is the following [email protected], [email protected], and [email protected] mobile number here in the Philippines is 09173084360.My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price. 

My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.comIf you like this video please click the LIKE button, SHARE, and SUBSCRIBE to my channel.Your support on my channel is highly appreciated.Thank you very much.

Program Listing


# Factorial_Number.py
# Jake Rodriguez Pomperada,MAED-IT, MIT
# www.jakerpomperada.com
# www.jakerpomperada.blogspot.com
# [email protected]
# Bacolod City, Negros Occidental Philippines


# Machine Problem
# Write a python program to ask the user to give
# a number and then the progam will computer the
# factorial value of the given number.

print()
print("\tFactorial Number in Python")
print()

num = int(input("\tGive a Number : "))

print()
factorial = 1
# check if the number is negative, positive or zero
if num < 0:
   print("\tSorry, factorial does not exist for negative numbers")
elif num == 0:
   print("\tThe factorial of 0 is 1.")
else:
   for i in range(1,num + 1):
       factorial = factorial*i
print("\tThe factorial of",num,"is",factorial,".")
print()
print("\tEnd of Program")
print()
Categories
Python

Odd and Even Number in Python





Machine Problem

Write a python program to check whether a given number is an odd or even numbers.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also.

Thank you.My email address is the following [email protected], [email protected], and [email protected] mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price. 


My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.comIf you like this video please click the LIKE button, SHARE, and SUBSCRIBE to my channel.Your support on my channel is highly appreciated.Thank you very much.



Program Listing


# Odd_Even_Numbers.py
# Jake Rodriguez Pomperada,MAED-IT, MIT
# www.jakerpomperada.com
# www.jakerpomperada.blogspot.com
# [email protected]
# Bacolod City, Negros Occidental Philippines


# Machine Problem
# Write a python program to check whether a given
# number is an odd or even numbers.

print()
print("\t Odd and Even Number in Python")
print()

num = int(input("\tGive a Number : "))

print()
#Using Bitwise Operator
if(num &1 ==1):
    print("\tThe given number" ,num, 'is Odd number.')
else:
    print("\tThe given number", num, 'is Even number.')
print()
print("\tEnd of Program")
print()




Categories
Python

Leap Year Checker in Python

Write a python program to check whether a given year is a leap year or not.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following [email protected], [email protected], and [email protected]

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price. My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button, SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much.

Program Listing


# Leap_Year.py
# Jake Rodriguez Pomperada,MAED-IT, MIT
# www.jakerpomperada.com
# www.jakerpomperada.blogspot.com
# [email protected]
# Bacolod City, Negros Occidental Philippines


# Machine Problem
# Write a python program to check whether a given
# year is a leap year or not.

print()
print("\t Leap Year Checker in Python")
print()

year = int(input("\tGive a Year : "))

print()
if (year % 4 == 0 and year % 100 != 0 or year % 400 == 0):
    print("\tThe year ",year, " is a leap year!")
else:
    print("\tThe year " , year, " isn't a leap year!")
print()
print("\tEnd of Program")
print()
Categories
Python

Addition of Two Numbers in Python

 In this article I would like to discuss how to write a program to ask the user to give two numbers and then the program will compute the sum of two numbers using Python programming language.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following [email protected], [email protected], and [email protected]

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price. My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button, SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much.

Program Listing

# Addition_Two_Numbers.py
# Jake Rodriguez Pomperada, MAED-IT, MIT
# www.jakerpomperada.com
# www.jakerpomperada.blogspot.com
# [email protected]
# Bacolod City, Negros Occidental Philippines

print()
print("\tAddition of Two Numbers in Python")
print()
a = int(input("\tEnter First Value    :  "))
b = int(input("\tEnter Second Value   :  "))

addition = (a+b)

print()
print("\tThe sum of {0} and {1} is {2}.".format(a,b,addition))
print()
print("\tEnd of Program")
print()
Categories
Python

Product of Two Numbers in Python

 A program to ask the user to give two numbers and then the program will compute the product of two given numbers using Python programming language.

 I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following [email protected], [email protected], and [email protected]

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price. My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button, SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much.

Program Listing


# product.py
# Jake Rodriguez Pomperada, MAED-IT, MIT
# www.jakerpomperada.com
# www.jakerpomperada.blogspot.com
# [email protected]
# Bacolod City, Negros Occidental Philippines

print()
print("\tProduct of Two Numbers in Python")
print()
a = int(input("\tEnter First Value    :  "))
b = int(input("\tEnter Second Value   :  "))

product = (a*b)

print()
print("\tThe product of {0} and {1} is {2}.".format(a,b,product))
print()
print("\tEnd of Program")
print()
Categories
Python

Decimal To Binary in Python

Write a program that will ask the user to input integer value and then, the program will compute the cube value of the given number using a function and display the computed result on the screen.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, IT projects, school and application development, programming projects, thesis, and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details. If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following [email protected], [email protected], and [email protected]

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is +63 (034) 4335675.

Here in Bacolod City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.unlimitedbooksph.com/

Program Listing

def convert_binary(values):
   if values > 1:
     convert_binary(values//2)
     print(values % 2,end ='');

def my_program():
   print();
   print("\tDECIMAL TO BINARY CONVERTER");
   print();
   decimal = int(input("\tEnter a Number: "));
   print();
   print('\tThe number {0} in Decimal is equivalent to '.format(decimal));
   convert_binary(decimal);
   print(" in binary.");
   print();
   repeat = input('\tDo you want to continue ? (Y/N) : ');

   if repeat.upper() == "N":
       print();
       print("\tEND OF PROGRAM");
       quit
   if repeat.upper() == "Y":
       my_program();

if __name__ == '__main__':
       my_program();


Categories
Python

Cube a Number Using a Function in Python

Write a program that will ask the user to input integer value and then, the program will compute the cube value of the given number using a function and display the computed result on the screen.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, IT projects, school and application development, programming projects, thesis, and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details. If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following [email protected], [email protected], and [email protected]

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is +63 (034) 4335675.

Here in Bacolod City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.unlimitedbooksph.com/

Program Listing

def  cube(num):
	return (num*num*num)

print();
print("\tCube a Number Using a Function");
print();
number = int(input("\tGive a Number : "));
print();
print("\tThe cube value of {0} is {1}.".format(number, cube (number)));
print();
print("\tEND OF PROGRAM");