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...
• • •
Missing some Tweet in this thread? You can try to
force a refresh
You run analytics on data to gain insights. These insights are meaningless until you reveal the story they wish to tell. These insights must translate into actions or business results.
People get moved by stories, not facts. I'm sure you recall certain stories from your youth. Stories inspire action. Will listening to a story about Mahatma Gandhi motivate you to take action?
There are two types of businesses: 1. service-based (TCS, WIPRO, INFOSYS, Cognizant, and Capgemini) 2. product-based (TCS, WIPRO, INFOSYS, Cognizant, and Capgemini) (Microsoft, Apple, Google, and Tesla).
👇🏻
Product-based companies grant data science projects to service-based companies.
While product-based businesses, receive data science projects from the various departments that make up their organization
- such as sales, logistics, manufacturing, and so on.