Lua | SoloLearn: Learn to code for FREE!



Should someone make lua tutorials?

6/8/2018 7:17:43 AM


5 Answers

New Answer


Lua is an open source language built on top of C programming language. Lua has its value across multiple platforms ranging from large server systems to small mobile applications. But the demand and popularity of the lua in the today's world is not as much of other programming languages. It can come here but it will take time for that. You should request the to the SoloLearn Community for making the Lua course on SoloLearn You can send them request via in-built feedback machinsim in the app or via mailing at [email protected] Whereas there is still not any possibility of Lua course coming soon on SoloLearn


it's 2 years since Gaige's request... :(




Given a number NN, generate a star pattern such that on the first line there are NNstars and on the subsequent lines the number of stars decreases by 1. The pattern generated should have NN rows. In every row, every fifth star (*) is replaced with a hash (#). Every row should have the required number of stars (*) and hash (#) symbols. The code stub provided here is to be used. It calls the function generatePattern(). Your task is to complete the function. Input: First line will contain TT, number of testcases. Then the testcases follow. Each testcase contains a single integer NN Output: For each testcase, print the star and hash pattern. Constraints 1≤T≤251≤T≤25 1≤N≤1001≤N≤100 Subtasks Subtask #1 (40 points): N≤15N≤15 Subtask #2 (60 points): original constraints