₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,329,358 members, 8,440,221 topics. Date: Monday, 06 July 2026 at 03:56 PM

Toggle theme

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

Nairaland ForumScience/TechnologyProgrammingI'm Encountering Error As A Newbie On Python Language (521 Views)

1 Reply (Go Down)

I'm Encountering Error As A Newbie On Python Language by SPOLO(op): 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
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):
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(op): 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.
1 Reply

What Are The Major Apps I Need To Learn Python Language ?I Want To Learn Python LanguageA Thread For Tutorial On Python Programming234

To 10 Reasons To Adopt Digital Marketing In 2020Why So Many Computer Programming Languages?Who Can Develop An Android App And Ios App Here.