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

Python Immersion - Week 1 Assignment

The document outlines a Python programming assignment for Week 1, which includes tasks such as modifying a list, creating variables for name and salary, manipulating a string, extracting a specific word from a nested dictionary, and listing rules for naming variables in Python. Each task is designed to practice basic Python syntax and operations. The assignment encourages hands-on learning through practical coding exercises.

Uploaded by

wale
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)
3 views1 page

Python Immersion - Week 1 Assignment

The document outlines a Python programming assignment for Week 1, which includes tasks such as modifying a list, creating variables for name and salary, manipulating a string, extracting a specific word from a nested dictionary, and listing rules for naming variables in Python. Each task is designed to practice basic Python syntax and operations. The assignment encourages hands-on learning through practical coding exercises.

Uploaded by

wale
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

Python Programming Immersion

Week 1: Assignment

1. message = ["I", "like","python"]


Change ‘like’ to ‘love’ and print message to show
["I", "love", "python"]

2. Create 2 variables, one for storing your name and the other
for storing your salary. Assuming your salary is 5000.12345 USD
print it out eg. My name is wale. I earn 500.12

3. words = "I am here" print out the words to read "here am I"

4 Bring out python from the info below


info = {'k1':[1,2,{'k2':['this is tricky',{'tough':[1,2,['python']]}]}]}

5. What are some of the rules for naming variables in python?

You might also like