Pls what the answer to this? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 4

Pls what the answer to this?

What s the result of this code? Primes={ 1:2, 2:3, 3:4, 4:7, 7:17 } Print(primes(primes[4])

3rd Apr 2020, 11:08 PM
Umar Fahm
Umar Fahm - avatar
3 Answers
0
That is an error...
3rd Apr 2020, 11:30 PM
CeePlusPlus
CeePlusPlus - avatar
0
Why do you have colons between the numbers? That's invalid.
4th Apr 2020, 1:21 AM
Frenchtoast
Frenchtoast - avatar
- 4
If you just took coding seriously in this quarintine period.... Drop a like/upvote.
3rd Apr 2020, 11:09 PM
Umar Fahm
Umar Fahm - avatar