Stats: 3,190,738 members, 7,941,794 topics. Date: Friday, 06 September 2024 at 01:25 PM |
Nairaland Forum / Science/Technology / Programming / Python Programmers Needeed Here................. (1768 Views)
Python Programmers Hang-out / Python Programmers Lets Meet Here!!! / Do Companies Employ Python Programmers In Nigeria? (2) (3) (4)
Python Programmers Needeed Here................. by obidavido(m): 9:07am On Oct 13, 2016 |
Pls guys I need help with that
|
Re: Python Programmers Needeed Here................. by lordZOUGA(m): 9:37am On Oct 13, 2016 |
Expecto Patronum 1 Like |
Re: Python Programmers Needeed Here................. by 4kings: 2:31pm On Oct 13, 2016 |
abracadabra ![]() 2 Likes |
Re: Python Programmers Needeed Here................. by hackafro: 3:05pm On Oct 13, 2016 |
4kings: What he said 1 Like |
Re: Python Programmers Needeed Here................. by 4kings: 3:10pm On Oct 13, 2016 |
hackafro:I don't understand u, what do u mean by "What he said" |
Re: Python Programmers Needeed Here................. by Nascimento(m): 12:46am On Oct 15, 2016 |
The {0} and {1} represent the first and second argument in .format("abra", "cad"). So it prints abracadabra. Lolz 2 Likes |
Re: Python Programmers Needeed Here................. by celestialAgent(m): 7:28am On Oct 15, 2016 |
Nascimento:what he said ![]() 2 Likes |
Re: Python Programmers Needeed Here................. by Nobody: 10:38pm On Oct 15, 2016 |
It will output an error, since there are only two values in the the tuple. Rather use print ("{0}{1}{2}".format("Abra", "cad", "abra ")) |
Re: Python Programmers Needeed Here................. by 4kings: 11:15pm On Oct 15, 2016 |
Gaara101:It won't output error. The argument's indices can be repeated |
Re: Python Programmers Needeed Here................. by Nobody: 11:24pm On Oct 15, 2016 |
4kings:I just typed it in the python IDLE and "IndexError: tuple index out of range" is what I got |
Re: Python Programmers Needeed Here................. by 4kings: 11:29pm On Oct 15, 2016 |
Gaara101:What version are u using, that could be the problem. Here's a snip of the code
|
Re: Python Programmers Needeed Here................. by Nobody: 11:32pm On Oct 15, 2016 |
4kings:2.7 I now see the reason. Thanks
|
Re: Python Programmers Needeed Here................. by 4kings: 11:33pm On Oct 15, 2016 |
Gaara101:OK |
Re: Python Programmers Needeed Here................. by silento(m): 7:00am On Oct 16, 2016 |
when it comes to formatted text python style really sucks I prefer the other method print("%d "%(5)) I know I didn't answer ur question coz I don't think any body with idle can't answer that plz get ur lazy finger to romance ur keyboard that's why we are called programmers hahaha joking 1 Like |
Re: Python Programmers Needeed Here................. by Ihinmi(m): 1:40am On Oct 26, 2016 |
Gaara101:please which version should I use as a starter python 3 or 2. Thanks. |
Re: Python Programmers Needeed Here................. by Ihinmi(m): 1:40am On Oct 26, 2016 |
4kings:please which version should I use as a starter python 3 or 2. Thanks. |
Re: Python Programmers Needeed Here................. by 4kings: 6:57am On Oct 26, 2016 |
Ihinmi:I don't think the versions matter, its just few changes and supported modules. But you can start with python 3, as much of the tutorial you would get might be based on that. 2 Likes |
Re: Python Programmers Needeed Here................. by Nobody: 9:06pm On Oct 26, 2016 |
Ihinmi:The above poster has answered. I agree with him and besides advanced books on python use python 3 1 Like |
Re: Python Programmers Needeed Here................. by Nascimento(m): 11:50pm On Oct 26, 2016 |
Is the use of python to solve problems really popular in Nigeria? |
(1) (Reply)
I Just Launched A Website Like Nairaland For African Youths / Dll File Interpretation. / Do You Need Unix Account?
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 14 |