Posts

Showing posts with the label Videos

Python Programming - Packing & Unpacking 1

Image
Python Programming - Packing & Unpacking 1 https://youtu.be/O4bqGOu74ig Simple demonstration of packing and unpacking, using list, set, dictionary and tuple. hamplustech.com hamplustech.wordpress.com

Python Programming - Packing & Unpacking 2

Image
Packing and Unpacking in Python programming. Uses list, dictionary and tuple for demonstration. https://youtu.be/K58L-KAr_mg www.hamplustech.com hamplustech.wordpress.com

Week 1 Task 1 Number 1

Image
The details of the task is seen in this post Data wrangling with dictionary and list. print("Answers to online task by Hampo, JohnPaul A.C.") print() print("Week 1 Answers - Task 2") print("Answer to last week's task No.1\ Hello Dear! Here is a little weekend task for us in python.\ Consider the data structure below:\ menu = {'meal_1': 'Spaghetti',\ 'meal_2': 'Fries',\ 'meal_3': 'Cheeseburger',\ 'meal_4': 'Lasagna',\ 'meal_5': 'Soup',\ 'meal_6': ['Pancakes', 'Ice-cream', 'Tiramisu']}\ 1] Create a new dictionary that contains the first five meals as keys and assign the following\ five values as prices (in dollars): 10, 5, 8, 12, 5. Start by Price_list = {}.\ 2] Create a JSON in which the values of the keys of menu dictionary have a dictionary\ showing the recipe for the values.)") Please what the video or click here to ...

Python Programming Task 1 - Answer

Image
Hello! Below is the answers to last week's task. To see the task, please visit  Here . The code is seen below: print("Answers to online task by Hampo, JohnPaul A.C.") print() print("Week 1 Answers") print("Answer to last week's task No.1\       Hello Dear! Here is a little task for us in python.\ \ 1] Write a program to find the sum of the data structure below\ [[1,2,3],[4,5,6,7],[8,9]]\ \ 2] Write a program to convert the tuple to a dictionary where\ name is the key and age is the value. Example: x = ('John', 23, 'm'), ('Peter', 43, 'm')\ then the output will be y = {'John': 23, 'Peter': 43}.") print() print("Solution") print("Task Number 1") a = [[1,2,3],[4,5,6,7],[8,9]] print("Using a for loop") b = [] for i in range(len(a)):     for j in range(len(a[i])):         b.append(a[i][j]) print("The sum of the list of lists = ", sum(b)) print() print("Alternati...

Intro to Python - range and using max, sum, min, count, len in range

Image
learn & revise on the use of range, sum, max, & others in python Please watch, comment, like and share this video. Also, kindly subscribe to the channel. Thanks!

Into. to Python - set, tuple, iterable

Image
Subject covered in this video: Set and Tuple data types. Difference between set and dictionary, set and list What are Iterables Tuple from dictionary Thanks for watching! Please share, like and comment. Also SUBSCRIBE to this channel and this blog. Thanks.

Intro. to Python - len(), max(), min(), sum() and set

Image
Learn how to use some basic functions in a basic way like (len(), max(), min() and sum()). Also learn a new data type called set.

Introduction to Python Programming

Image

Larger of two Numbers || QBASIC

Image
Here we did an example on QBASIC programming showing how to find the larger of two numbers. Please Subscribe to my channel and Like this Video! Programming is fun, simple and nice. - Hamplus Technologies International https://youtu.be/ohAdyBxGFPM Thanks.

Visual Studio Practice - Creating A Webpage

Image
Programming is fun, simple and nice.  - Hamplus Technologies International https://youtu.be/cKe5gcRykQQ Learn how to basically design a web page! Thank me by sharing and commenting. Thanks for visiting!!!

Learning QBASIC - A Simple Program

Image
Programming is fun, simple and nice.  - Hamplus Technologies International https://www.youtube.com/edit?o=U&video_id=34F-nRF2Sns