Problems with Python - syntax

1

Why do I get an error when inputting a different value of Numbers? Also, why can not I put the "?" even if they are in quotes?

    
asked by CARLOS LUIS MORA CAÑAS 27.10.2017 в 23:54
source

2 answers

1
  • For Python 2.7 you have to use raw_input()
  • Add in the first line: # -*- coding: utf-8 -*- and verify that your terminal, text editor or SDK have defined: UTF-8 as text encoding
  • answered by 28.10.2017 в 03:42
    0

    Thank you very much, for your prompt response, the problem could already be solved.

    One last thing is how to make the query show the information printed without () and without quotes but as normal text, as if it were a talk

    Example

    currently output: ('I'm glad to meet you,', 'Carlos')

    As I want it to come out:

    I'm glad to meet you Carlos

        
    answered by 30.10.2017 в 15:06