Excellent Python Programs to be better - Beginner
🧵 2 Questions
#datavisualization #data #tableau #storytelling #technology #analytics #intelligence #innovation #learning #scalability #dataanalytics #businessintelligence #art #datastorytelling #MachineLearning #DataScience
Question 1 - Python Dictionary
Solution
Steps to solve:
1. take input from the user and convert it to an integer
2. then initialize a dictionary "result"
3. now use for loop to fill the dictionary with 'i' as key and i*i as value
4. print the dictionary
Question 2 - Python List, Tuple
Solution
Step to solve:
1. take the input
2. split the number on the comma
3. create a list and tuple of numbers
4. print the result
If you appreciate my explanation style, please follow me for more information like this.
Let us all grow together.
Like, Share, RT - first tweet
comment what you feel...
Share this Scrolly Tale with your friends.
A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.