Print the first n prime numbers

117 views
Skip to first unread message

Andrey Ermack

unread,
Jun 14, 2023, 3:52:47 PM6/14/23
to Blockly
I need help creating code to be able to print the first n prime numbers (n is specified from the keyboard).

Neil Fraser

unread,
Jun 14, 2023, 4:13:05 PM6/14/23
to blo...@googlegroups.com

Am Mi., 14. Juni 2023 um 21:52 Uhr schrieb Andrey Ermack <andrej...@gmail.com>:
I need help creating code to be able to print the first n prime numbers (n is specified from the keyboard).

--
You received this message because you are subscribed to the Google Groups "Blockly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blockly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/blockly/3f554bf9-7d1e-4680-ab54-9c2d2a4e682bn%40googlegroups.com.


--
Neil Fraser, Switzerland
https://neil.fraser.name
Message has been deleted
Message has been deleted

Andrey Ermack

unread,
Jun 14, 2023, 4:40:05 PM6/14/23
to blo...@googlegroups.com
Thank you very much. I am very grateful to you for such help.

Ermander

unread,
Jun 15, 2023, 7:23:01 AM6/15/23
to blo...@googlegroups.com
What if the count starts with 2 instead of 3?

Beka Westberg

unread,
Jun 15, 2023, 4:36:45 PM6/15/23
to Blockly
Hello!

It sounds like you have a question about how to program using Blockly blocks.This is a forum for people developing web applications that integrate Blockly, so it's probably not the best place for your question :/ If this is part of a class, I would recommend asking your teacher!

If I've misunderstood and you have a question about web development with Blockly, please feel free to clarify and I'm happy to help =)

Best wishes,
--Beka
Reply all
Reply to author
Forward
0 new messages