Skip to content

naitik-glitch/Data_type_detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Data Type Detector

A simple Python program that detects the type of data entered by the user.

How It Works

The user enters a value, and the program checks whether it is:

  • Integer
  • Float
  • Boolean (True or False)
  • String

The user can continue testing multiple values.

Skills Used

  • Functions
  • User Input
  • Loops (while)
  • Exception Handling (try and except)
  • Conditional Statements (if and else)

Example

Input: 123
Output: Detected type : Integer

Author

Made by Naitik while learning Python.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages