I Haz Codes

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Menu
Concatenation
Simple traversal
Basic string functions
Strings

This section will contain tutorials on how to use strings in python.

Concatenation

Learn In this lesson you will look at the basic concepts of strings and string concatenation. This code is not complex, but it is worth understanding the terminology and how things work. Try 1)Type/copy the code into python and run. 2)Create a 4th variable which concatenates all three variables together. 3)Display the full sentence using […]

Simple traversal

Learn In this lesson you will look at how you can travel across “traverse” a string. We will look at using while loops and for loops in order to do this. You are able to use either in your code. Try Run the code below and understand what it is doing. 1)Add two more words […]

Basic string functions

Learn In this lesson you will look at some key string functions – upper(), lower(), len(), ord() and chr(). Try 1)Write a program to implement caesar cipher. Tasks

Comments are closed.

Information