Skip to content
AsharGit edited this page Jan 23, 2021 · 3 revisions

Welcome to the Python-ICP-1 wiki!

For this ICP we were asked to write about the difference between Python 2 and Python 3 and write small programs to get us familiar with Python.

The difference between Python 2 and Python 3:

Difference

Get input word from user, remove 2 characters and then reverse the word:

Reverse code Reverse output

Get input numbers from user and then perform arithmetic operations on the numbers:

Arithmetic code Arithmetic output

Get input sentence from user and replace any instance of the word 'python' with 'pythons'

Replace code Replace output

Clone this wiki locally