Skip to content

PC Tech II  #164

@alexmojaki-bot

Description

@alexmojaki-bot

User Issue
Email: [email protected]
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36 Edg/91.0.864.70

I'm studying for the CCNA and need Python as a language for automation and this is the best interactive app I have used so far. I use w3schools and other apps but this is by far the best interactive I can find right now. Thanks so very much for making this.

Redux state

{"book":{"error":null,"route":"main","pageSlugsList":["IntroducingTheShell","NavigatingShellHistory","IntroducingStrings","AddingStrings","IntroducingVariables","UsingVariables","WritingPrograms","StoringCalculationsInVariables","IntroducingForLoops","Indentation","BasicForLoopExercises","BuildingUpStrings","BuildingUpStringsExercises","BasicTerminology","IntroducingIfStatements","CombiningCompoundStatements","UnderstandingProgramsWithSnoop","IfAndElse","TheEqualityOperator","IntroducingElif","OtherComparisonOperators","IntroducingLists","BuildingNewLists","UsingBreak","GettingElementsAtPosition","CallingFunctionsTerminology","FunctionsAndMethodsForLists","MoreListFunctionsAndMethods","StringMethodsUnderstandingMutation","HowToFindInformationWithGoogleAndMore","UnderstandingProgramsWithPythonTutor","EqualsVsIs","ModifyingWhileIterating","SingleAndDoubleQuotesInStrings","IntroducingFstrings","IntroducingNestedLoops","IntroducingBirdseye","IntroducingNestedLists","LoopingOverNestedLists","DefiningFunctions","CallingFunctionsWithinFunctions","ReturningValuesFromFunctions","TestingFunctions","MoreOnReturn","IntroducingOr","IntroducingAnd","MultiLineExpressions","CombiningAndAndOr","IntroducingNotPage","IntroducingTicTacToe","NewlinesAndFormatBoard","Types"],"user":{"uid":"S7G43jNAPugEaUQJsAC1athDp3Y2","email":"[email protected]","developerMode":false,"pageSlug":"UsingVariables","pagesProgress":{"IntroducingTheShell":{"step_name":"final_text"},"NavigatingShellHistory":{"step_name":"final_text"},"IntroducingStrings":{"step_name":"final_text"},"AddingStrings":{"step_name":"final_text"},"IntroducingVariables":{"step_name":"final_text"},"UsingVariables":{"step_name":"name_assign"},"WritingPrograms":{"step_name":"editor_hello_world"},"StoringCalculationsInVariables":{"step_name":"sentence_equals_word_plus_name"},"IntroducingForLoops":{"step_name":"first_for_loop"},"Indentation":{"step_name":"missing_indentation"},"BasicForLoopExercises":{"step_name":"loop_exercise_1"},"BuildingUpStrings":{"step_name":"hello_plus_equals"},"BuildingUpStringsExercises":{"step_name":"name_triangle_spaced"},"BasicTerminology":{"step_name":"final_text"},"IntroducingIfStatements":{"step_name":"introducing_booleans"},"CombiningCompoundStatements":{"step_name":"for_inside_if"},"UnderstandingProgramsWithSnoop":{"step_name":"print_tail"},"IfAndElse":{"step_name":"first_if_else"},"TheEqualityOperator":{"step_name":"introducing_equality"},"IntroducingElif":{"step_name":"dna_example"},"OtherComparisonOperators":{"step_name":"try_not_equals"},"IntroducingLists":{"step_name":"first_list"},"BuildingNewLists":{"step_name":"double_numbers"},"UsingBreak":{"step_name":"list_contains_exercise"},"GettingElementsAtPosition":{"step_name":"introducing_subscripting"},"CallingFunctionsTerminology":{"step_name":"print_functions"},"FunctionsAndMethodsForLists":{"step_name":"append_vs_concatenate"},"MoreListFunctionsAndMethods":{"step_name":"sorted_predict_exercise"},"StringMethodsUnderstandingMutation":{"step_name":"string_in_step"},"HowToFindInformationWithGoogleAndMore":{"step_name":"sum_list"},"UnderstandingProgramsWithPythonTutor":{"step_name":"run_with_python_tutor"},"EqualsVsIs":{"step_name":"two_separate_lists"},"ModifyingWhileIterating":{"step_name":"run_broken_with_python_tutor"},"SingleAndDoubleQuotesInStrings":{"step_name":"single_quotes_apostrophe"},"IntroducingFstrings":{"step_name":"introduce_f_strings"},"IntroducingNestedLoops":{"step_name":"first_nested_loop"},"IntroducingBirdseye":{"step_name":"first_birdseye_example"},"IntroducingNestedLists":{"step_name":"string_list_exercise"},"LoopingOverNestedLists":{"step_name":"nested_list_nested_loop_example"},"DefiningFunctions":{"step_name":"define_greet"},"CallingFunctionsWithinFunctions":{"step_name":"print_twice_call_print_many"},"ReturningValuesFromFunctions":{"step_name":"first_return"},"TestingFunctions":{"step_name":"introducing_assert_equal"},"MoreOnReturn":{"step_name":"double_return_in_one_function"},"IntroducingOr":{"step_name":"InputAliceBob"},"IntroducingAnd":{"step_name":"TrueAndTrue"},"MultiLineExpressions":{"step_name":"invalid_multiline"},"CombiningAndAndOr":{"step_name":"CombiningAndOr"},"IntroducingNotPage":{"step_name":"IntroducingNot"},"IntroducingTicTacToe":{"step_name":"intro_row_winner"},"NewlinesAndFormatBoard":{"step_name":"one_way_to_print_board"},"Types":{"step_name":"five_different_types"}}},"processing":false,"numHints":0,"editorContent":"","messages":[],"pastMessages":[],"requestingSolution":0,"prediction":{"choices":["sunshine","'sunshine'","Hello","'Hello'","Error"],"answer":"Error","userChoice":"Error","wrongAnswers":["sunshine"],"state":"hidden","codeResult":{"passed":true,"messages":[],"awaiting_input":false,"output":"NameError: name 'sunshine' is not defined","output_parts":[{"isTraceback":true,"codeSource":"shell","tracebacks":[{"frames":[{"type":"frame","name":"<module>","variables":[],"lines":[{"type":"line","is_current":true,"lineno":1,"content":"<span class=\"n\">sunshine</span>"}]}],"exception":{"type":"NameError","message":"name 'sunshine' is not defined"},"tail":"","didyoumean":[],"friendly":"<p>A <code>NameError</code> exception indicates that a variable or\nfunction name is not known to Python.\nMost often, this is because there is a spelling mistake.\nHowever, sometimes it is because the name is used\nbefore being defined or given a value.</p>\n<p>In your program, no object with the name <code>sunshine</code> exists.\nI have no additional information for you.</p>"}],"text":"NameError: name 'sunshine' is not defined","color":"red"},{"text":">>> ","color":"white"}],"prediction":{"choices":["sunshine","'sunshine'","Hello","'Hello'","Error"],"answer":"Error"}},"height":0}}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions