Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,373 members, 7,808,298 topics. Date: Thursday, 25 April 2024 at 10:03 AM

I'm Encountering Error As A Newbie On Python Language - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / I'm Encountering Error As A Newbie On Python Language (334 Views)

What Are The Major Apps I Need To Learn Python Language ? / I Want To Learn Python Language / A Thread For Tutorial On Python Programming (2) (3) (4)

(1) (Reply) (Go Down)

I'm Encountering Error As A Newbie On Python Language by SPOLO(m): 5:48pm On Jul 07, 2020
good evening sirs.
please i started learning programming recently which i chose pyton as my main focus with the help a pdf and video for tutorials.

but i keep getting an error while i input this sets of numbers

>>>{x:x**2 for x in (2,4,6))}

where can i detect the error

1 Like

Re: I'm Encountering Error As A Newbie On Python Language by Donotread: 6:18pm On Jul 07, 2020
)
Re: I'm Encountering Error As A Newbie On Python Language by Abuskid: 6:22pm On Jul 07, 2020
) ) ?
Re: I'm Encountering Error As A Newbie On Python Language by Taofeekdboy(m): 6:24pm On Jul 07, 2020
SPOLO:
good evening sirs.
please i started learning programming recently which i chose pyton as my main focus with the help a pdf and video for tutorials.

but i keep getting an error while i input this sets of numbers

>>>{x:x**2 for x in (2,4,6))}

where can i detect the error
Re: I'm Encountering Error As A Newbie On Python Language by modash(m): 6:26pm On Jul 07, 2020
SPOLO:
good evening sirs.
please i started learning programming recently which i chose pyton as my main focus with the help a pdf and video for tutorials.

but i keep getting an error while i input this sets of numbers

>>>{x:x**2 for x in (2,4,6))}

where can i detect the error

You have two )) after 6. I think it should be one )
Re: I'm Encountering Error As A Newbie On Python Language by SPOLO(m): 6:30pm On Jul 07, 2020
modash:


You have two )) after 6. I think it should be one )
woo thanks i just did it now and it worked
Re: I'm Encountering Error As A Newbie On Python Language by Karleb(m): 6:39pm On Jul 07, 2020
Funny error you face as a newbie. grin grin

Try to read the error message. I know they are red and scary, more often than not, the solution is in the error message.

2 Likes

(1) (Reply)

Has Anyone Noticed This Error On Facebook?is There A Solution? / Web Developers (html Css Javascript Php) Needed For Freelance Work / Complete Ethical Hacking Bootcamp 2021: Zero To Mastery

(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. 8
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.