0% found this document useful (0 votes)
4 views1 page

Module 1 Cheat Sheet

The document provides examples of different data types in programming, including integers, floats, booleans, and strings. It demonstrates string manipulation and the use of the 'len' function to determine the length of a string. The content is structured with code snippets to illustrate each concept clearly.

Uploaded by

Dipika Barman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views1 page

Module 1 Cheat Sheet

The document provides examples of different data types in programming, including integers, floats, booleans, and strings. It demonstrates string manipulation and the use of the 'len' function to determine the length of a string. The content is structured with code snippets to illustrate each concept clearly.

Uploaded by

Dipika Barman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

2/12/25, 7:56 PM Skills Network Editor

-02:00

1 result = "Hello" + " John"</td> 

Example:
1 x=7
2 # Integer Value
3 y=12.4
4 # Float Value
5 is_valid = True
6 # Boolean Value
7 is_valid = False
8 # Boolean Value
9 F_Name = "John"

10 # String Value

Example:
1 my_string="Hello"

2 char = my_string[0]

Syntax:
1 len(string_name) 

Example:

1 my_string="Hello"

https://author-ide.skills.network/render?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZF9pbnN0cnVjdGlvbnNfdXJsIjoiaHR0cHM6Ly9jZi1jb3Vyc2VzLWRhdGEuczMudXMuY2xvdWQtb2JqZWN0LXN0b3JhZ2UuYXBwZG9t… 1/1

You might also like