Posts

Showing posts from June, 2020

Circumference using python

Circumference in Python First open your python ide ,I recommend you to use py charm for python then write the following code- print ("enter the radius ") radius = int(input()) Circumference = 2*22/7*radius print(cir)

How to make a loading screen in qbasic

Loding  Screen in qbasic- First open your qbasic ide  then type following code. CLS LOCATE  20,35 #This function is used for location PRINT "LOADING" #this prints loading on a specific area LOCATE 22,10 #This will print the next value below loading COLOR 10 #colour LOCATE 22,10 PRINT "**"  SLEEP 1 #This will make a delay of 1 second and  then display next word this will make your screen look like loading screen. LOCATE 24,10 #locate the first value of coordinate according to which location you set before for e.x on first I printed 2 stars after giving coordinate of 24 so I had printed 24 in this location  PRINT "**********" SLEEP 1 LOCATE 35,10 PRINT "****" Share this with your friends and follow us for more awesome projects.