Sharp Tutorial
Numbers in Python

Python

Java

C

C++

HTML/CSS

Java Script

PHP

SQL

C Programs

Introduction to Python

  • Introduction to Python
  • History of Python
  • How To Install Software
  • Variables in Python
  • Comments in Python
  • Input/Output
  • If else in Python
  • While Loop
  • For Loop

Collection in Python

  • Numbers in Python
  • List
  • Tuple
  • Set
  • Dictionary
  • Array
  • String

Object Oriented python

  • Function
  • Exception
  • OOPS (class/object)
  • Object Pass & Return
  • Constructor
  • Function Overloading
  • Module in Python
  • Inheritance
  • File Handling

Python With MYSQL And Excel

  • Connect MySql & Python
  • Insert Data MySQL
  • Delete/Update MySQL
  • Select Data From MySQL
  • Working With Excel in Python

Python GUI

  • GUI using Turtle
  • Introduction to Tkinter
  • Login Page using Tkinter
  • Data Grid Example Tkinter
  • Connect Multiple Forms
  • Database with GUI Python

Programs in Python

  • Swap two number
  • Calculate the area
  • Even Odd or Zero
  • Largest ,Middle and Smallest Number
  • Calculate Telephone Bill
  • Print Table of The given Number
  • Factorial of the number
  • Reverse and check number is palindrome
  • check number is prime , armstrong
  • Program to Print the given patterns
  • Guess A Number Game using Random
Click Here

Sharp (2) Tutorials

Numbers in python

Mainly python has three following types

(1) int (a=5)
(2) float (a=5.5)
(3)complex(a=10+5j) here j is the imaginary part as real number.

String value can be stored as following
s=”hello” or s=’hello’

Typecasting in Python : To Change the value from one form to another type casting can be done in python.

a=int(5.5)
print(a)

  Output:
  5 (Shows only the integer part of the number).

b='5'
a=int(b)
print(a)

   Output:
   5 (converts the string value to int).

a=5
a=float(a)
print(a)

   Output:
   5.0 (converts the string value to int).

a=5;
s=str(a)
print(s)

  Output:
  5 (internally integer value is converted to str like ‘5’).

Enquiry about Course

Ask your Question

Click Here

Sharp (2) Tutorials

Video/ C Introduction

Watch video in full size

Video tutorial

Follow by Email
Facebook
Facebook
fb-share-icon
YouTube
Copyright © Sharp Tutorial
Build with WordPress
Wordpress Social Share Plugin powered by Ultimatelysocial
Sharp Tutorial