Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I am having a bit of trouble in figuring out how to code the portion that knows if the coding language is a valid option.
I am having a bit of trouble in figuring out how to code the portion that knows if the coding language is a valid option. Please attach your code (It is Python).
Thank you for reviewing this question!
You are to create a program that uses a dictionary. The starting dictionary you should use in your program is this: languages rCrs compiled Python Your program should print the entirety of the dictionary and ask the user if they d like to add another language. The choice given should return an error m in a loop until the user decides to stop. A sample execution of this has been provided below "interpretted, 'Rust : compilied) Language: C++ Compiled or Interpretted: compiled Language: Python Compited or Interpretted: interpretted Language: Rust Conpiled or Interpretted: compiled Do you vant to add a Language? (yeso): yes What language? Javascript Is it compiled or interpretted? interpretted Language: C++ Conpiled or Interpretted: conpiled Language: Python Conpiled or Interpretted: interpretted Language: Rust Conpited or Interpretted: compiled Language: Javascript Compiled or Interpretted: interpretted Do you want to add a Language? (yeso): df That's not a valid answer Language: C++ Compited or Interpretted: compiled Language: Python Compiled or Interpretted: interpretted Language: Rust Compiled or Interpretted: compiled Language: JavaScript Compiled or Interpretted: interpretted Do you want to add a language? (yeso): noStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started