Hi. I'm trying to use semicolon for execute two command on one line but this is the result. Can anyone explain why?
Output:>>> a=4
>>> b=5
>>> a;b
5
>>>
[split] How to ask Smart Questions (thread title expansion)
|
Hi. I'm trying to use semicolon for execute two command on one line but this is the result. Can anyone explain why?
I do not think python works that way. If you wish to show both, use a comma
This worked for python 3.12. Does not work for python 3.13
I welcome all feedback.
The only dumb question, is one that doesn't get asked. My Github How to post code using bbtags Download my project scripts
Nov-11-2024, 09:48 AM
(Nov-11-2024, 08:56 AM)menator01 Wrote: I do not think python works that way. If you wish to show both, use a comma Sir im getting online lessons for python and tutor coding on 3.7.2. So should i delete 3.13 and get 3.12. And even if i did what do you think will im a get smilar problems again?
Nov-11-2024, 12:38 PM
I've started coding in 3.13 since it is now a stable release. I haven't found any problems with it yet.
I welcome all feedback.
The only dumb question, is one that doesn't get asked. My Github How to post code using bbtags Download my project scripts
Nov-11-2024, 01:27 PM
I see no reason for installing 3.12. If you want compatibility with the lessons, install 3.7 or 3.8.
|
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Counting Number of Element in a smart way | quest | 2 | 2,730 |
Nov-09-2020, 10:24 PM Last Post: quest |
|
[split] New thread/topic | rajp1497 | 1 | 2,392 |
Sep-24-2020, 01:55 AM Last Post: micseydel |
|
Error SQLite objects created in a thread can only be used in that same thread. | binhduonggttn | 3 | 19,069 |
Jan-31-2020, 11:08 AM Last Post: DeaD_EyE |
|
Build class to make a Smart list - trying | icm63 | 7 | 4,686 |
Mar-28-2019, 08:53 PM Last Post: icm63 |
|
How to change font size of chart title and axis title ? | thrupass | 5 | 18,150 |
Mar-30-2018, 04:02 PM Last Post: DrFunn1 |
|
Discord bot that asks questions and based on response answers or asks more questions | absinthium | 1 | 56,566 |
Nov-25-2017, 06:21 AM Last Post: heiner55 |