This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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) |