Skip to content

Issues with Basic Datatypes #347

Open
Open

Description

@edoardob90
  • The last two exercises before "Unpacking" cannot be done without loops. We need to remove them or move them to "Control Flow"
    • solution_sets_of_even_and_odd
    • solution_tuple_increased_by_one. This can be reformulated with a tuple of fixed and known number of elements. E.g., "Given a tuple of 4 elements..."

Activity

  1. added theissue type on Nov 12, 2025
  2. edoardob90 commented on Nov 12, 2025

    @edoardob90
    MemberAuthor

    Originally posted by @Snowwpanda in #267

    • Typehint in def solution_a_plus_b_equals_c(a: float, b: float, c: float) -> float:
      output should be boolean
    • Lists - Exercise 2: Write a program that takes a list and returns the first and last element of the list as a tuple --> we should reformulate without tuple, since tuples arent explained yet. Check if more exercises have the same mistake.
    • Strings - Exercise 4: Write a program that receives a list of words as input and returns a string consisting of the words in the list separated by commas. --> Maybe make the desctiption more clear? It was not clear that you need to call join on a string and not a list.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions