ICP 1 - AsharGit/Python-ICP GitHub Wiki

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.

Video for this ICP: https://youtu.be/LpRvztUm4HM

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