• hi_christina

    Oh man!!! πŸ˜…Thank you! πŸ™

    I understand what you mean now about type being a valid Python function but not for printing. Sorry, I didn’t understand before, but it all makes sense now!! Thanks for helping out!

    posted in General Discussion read more
  • hi_christina

    When I use the type() function on jupyter, there is no problem. I get str back when I run the cell. But in pythonista I do not get anything back when I run this.

    print("enter name")
    name = input()
    type(name)

    posted in General Discussion read more
  • hi_christina

    Here was the other example with the type() command:
    I input 54 as the input value.

    β€”β€”β€”β€”β€”
    print("enter a name or number")
    test_input = input()
    type(test_input)
    β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”-
    This appeared in the console:

    enter a name or number
    54


    I tried this and nothing appeared in the console.

    test_input = β€œLala”
    type(test_input)

    posted in General Discussion read more
  • hi_christina

    Oh, I thought test is a standard python function, so I was googling if I maybe had the wrong version of the Pythonista app downloaded. I had the same issue with type(). Is that also not a standard python function?

    The task that I am trying to accomplish with the above code is to:

    1. Create a variable to store input: name, age, yes_no
    2. Create prompts for name, age and yes/no to being on an email list
    3. Print a description + variable values for each variable

    posted in General Discussion read more
  • hi_christina

    Hi I am a serious beginner with python and pythonista and I a stuck pretty early on in my course. What does this notification mean? Name β€˜test’ is not defined.

    Here is the code:

    print("fill out this form")
    print("enter your name")
    name = input()
    print("how old are you?")
    age = input()
    print("do you want to be an email suscriber?")
    yes_no = input()
    
    test(input())
    

    posted in General Discussion read more

Internal error.

Oops! Looks like something went wrong!