Ethereum vs Bitcoin Differences
📖 Scenario: You are learning about two popular cryptocurrencies: Ethereum and Bitcoin. Each has unique features and differences. You want to organize their key differences in a Python dictionary to compare them easily.
🎯 Goal: Create a Python program that stores Ethereum and Bitcoin differences in a dictionary, filters the differences based on importance, and prints the filtered results.
📋 What You'll Learn
Create a dictionary called
crypto_diff with exact keys and values for Ethereum and Bitcoin differencesCreate a variable called
importance_threshold with the value 3Use a dictionary comprehension to create a new dictionary called
important_diff that includes only differences with importance greater than or equal to importance_thresholdPrint the
important_diff dictionary💡 Why This Matters
🌍 Real World
Organizing and comparing features of cryptocurrencies helps investors and developers understand their strengths and weaknesses.
💼 Career
Data filtering and dictionary comprehension are common tasks in data analysis and software development roles.
Progress0 / 4 steps