Skip to content

Assignment no 1 #6

@sujalpowar-465

Description

@sujalpowar-465

#Demonstrate basic Data types in Python
#Assignment 1
#Q A. Write a Python Program to demonstrate the following data types: Integer, Float, String, Boolean, List, Tuple, Dictionary, Set
a = 10
print(a,":",type(a))
b = 2.5
print(b,":",type(b))
c = 'Hello World!'
print(c,":",type(c))
d = True
print(d,":",type(d))
e = []
print(e,":",type(e))
f = ()
print(f,":",type(f))
g = {}
print(g,":",type(g))
h = set()
print(h,":",type(h))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions