Nov-27-2025, 11:33 AM
Python is not working on Xcode
|
Python is not working on Xcode
|
|
Nov-27-2025, 06:04 PM
Hi,
are you aware that the Python code you entered is not valid Python code for any supported version of Python? This will not run anyway. Regards, noisefloor
Nov-27-2025, 10:34 PM
(This post was last modified: Nov-28-2025, 07:58 AM by Pedroski55.)
Yes, try like this perhaps
name = input('Enter your name ... ')
# lets say name = 'Joe'
print(f'Hey {name}, where you goin\' with that gun in your hand?')
print('I\'m going down to shoot my old lady, you know, I caught her messing around with another man.')
Nov-28-2025, 06:04 AM
(Nov-27-2025, 06:04 PM)noisefloor Wrote: Hi, Hey, I’m not aware of that, I’m new to python, even in coding. I’m just following this guide step by step, but I’m unable to find where I’m getting wrong.
Nov-28-2025, 10:44 AM
(Nov-28-2025, 06:04 AM)lary_p Wrote: I’m just following this guide step by step, but I’m unable to find where I’m getting wrong.Look at the last screenshot in the tutorial for Xcode and compare your code to the code in the screenshot. Parenthesis matter a lot in Python. Being new to Python, it is _highly_ recommendable to work yourself through the official Python tutorial. Regards, noisefloor |
|
|
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
| building app in XCODE with python | phantom115 | 2 | 2,654 |
Aug-02-2023, 11:56 AM Last Post: phantom115 |
|
Users browsing this thread: 1 Guest(s)
