Skip to content

Instantly share code, notes, and snippets.

View GitBeat16's full-sized avatar

Srushti GitBeat16

  • 09:28 (UTC +05:30)
View GitHub Profile
#Assignment Day 1
#1. Write a program to assign values to variables of different data types (integer, float, string, and boolean) and print their values and types1. Write a program to assign values to variables of different data types (integer, float, string, and boolean) and print their values and types.
int_var = 10
float_var = 10.5
string_var = "Hello, World!"
bool_var = True
print(int_var)
print(float_var)
print(string_var)