Docsity

Python Programming: List & Tuple Lab Exercise for CIS103, Cheat Sheet of Computer science

Toggle sidebar
bg1
CIS103 Python
Chapter 7 – List & Tuple Lab
Assign Date: 11/29/2021(Monday) Due Date: 12/6/2021 (Monday)
1. Using for loop to create a list of 20 even numbers from 100 without using if.
for i in range(……):
2. Write a function that takes a string S as an argument and return S in reversed order.
For example, if S = “What is Python”, it should return “Python is What”.

Partial preview of the text

Download Python Programming: List & Tuple Lab Exercise for CIS103 and more Cheat Sheet Computer science in PDF only on Docsity!

CIS103 Python Chapter 7 – List & Tuple Lab Assign Date : 11/29/2021(Monday) Due Date : 12/6/2021 (Monday)

  1. Using for loop to create a list of 20 even numbers from 100 without using if. for i in range(……):
  2. Write a function that takes a string S as an argument and return S in reversed order. For example, if S = “What is Python”, it should return “Python is What”.