₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,345,668 members, 8,518,830 topics. Date: Sunday, 15 November 2026 at 01:22 AM

Toggle theme

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 (547 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 Language • A Thread For Tutorial On Python Programming • 2 • 3 • 4

Suggest A Budget Laptop For Someone Who Wants To Learn Programming • The Beginner/intermediate Programmer Learning Confusion. • I Need An Auto Clicker (clicking 2 Links The Same Time)