Posts

Showing posts from August, 2022

Codes for drawing Spiderman in python

 Codes starts from here from turtle import * speed(13) # Painting speed control bgcolor("#990000") pensize(10) penup() goto(0,50) pendown() circle(-120) penup() circle(-120,-60) pendown() pensize(5) right(50) circle(70,55) right(85) circle(75,58) right(90) circle(70,55) right(90) circle(70,58) # body penup() pensize(10) goto(80,15) pendown() seth(92) fd(135) seth(125) circle(30,135) seth(190) fd(50) seth(125) circle(30,135) seth(275) fd(90) # Arm 1 penup() pensize(10) goto(92,-150) seth(240) pendown() fd(80) left(10) circle(-28,185) # Arm 2 penup() goto(0,50) seth(0) pensize(10) circle(-120,-60) seth(200) pendown() fd(72) left(20) circle(30,150) left(20) fd(20) right(15) fd(10) pensize(5) fillcolor("#3366cc") begin_fill() seth(92) circle(-120,31) seth(200) fd(45) left(90) fd(52) end_fill() fd(-12) right(90) fd(40) penup() right(90) fd(18) pendown() right(86) fd(40) penup() goto(-152,-86) pendown() left(40) circle(35,90) # Body coloring penup() goto(-80,116) seth(10)...

Codes for making middle finger in python

 Codes starts from here import turtle m = turtle.Turtle() m.speed=(9999) t = turtle.Turtle() t.speed=(9999999) for i in range(1): m.fillcolor("#E8BEAC") t.fillcolor("#E8BEAC") m.begin_fill() t.begin_fill() m.left(90) m.forward(100) m.left(5) m.forward(2) m.left(5) m.forward(2) m.left(5) m.forward(2) m.left(5) m.forward(2) m.left(5) m.forward(2) m.left(5) m.forward(2) m.left(5) m.forward(2) m.left(5) m.forward(2) m.left(5) m.forward(2) m.left(5) m.forward(2) m.left(5) m.forward(2) m.left(5) m.forward(2) m.left(5) m.forward(2) m.left(5) m.forward(2) m.left(5) m.forward(2) m.left(5) m.forward(2) m.left(5) m.forward(2) m.left(5) m.forward(2) m.left(5) m.forward(2) m.left(5) m.forward(2) m.left(5) m.forward(2) m.left(5) m.forward(2) m.left(5) m.forward(2) m.left(5) m.forward(2) m.left(5) m.forward(2) m.left(5) m.forward(2) m.left(5) m.forward(2) m.lef...

Codes for creating s style logo

 Code starts from here:- import turtle turtle.shape("turtle") x = turtle.Turtle() x.speed(-2) turtle.speed(1) for i in range(1):  x.left(180)  turtle.right(90)  turtle.forward(70)  x.forward(45)  x.right(145)  x.forward(90)  x.right(70)  x.forward(90)  x.right(145)  x.forward(45)  x.left(90)  x.forward(70)  turtle.right(90)  turtle.forward(100)  x.left(90)  x.forward(40)  x.left(90)  x.forward(30)  x.right(145)  x.forward(60)  x.right(70)  x.forward(60)  x.right(145)  x.forward(30)  x.left(90)  x.forward(40)  x.penup()  x.forward(55)  x.pendown()  x.forward(60)  x.left(90)  x.forward(80)  turtle.left(90)  turtle.forward(160)  x.left(90)  x.forward(60)  x.penup()  x.forward(55)  x.pendown()  x.forward(80)  x.right(90)  turtle.left(90)  turtle.forward(105)  turtle.pen...

Codes for drawing python logo in python

 Codes starts for here:- import turtle t = turtle.Turtle() s = turtle.Screen() s.bgcolor("black") t.speed(100) t.pensize(2) t.pencolor("white") def s_curve():     for i in range(90):         t.left(1)         t.forward(1) def r_curve():     for i in range(90):         t.right(1)         t.forward(1) def l_curve():     s_curve()     t.forward(80)     s_curve() def l_curve1():     s_curve()     t.forward(90)     s_curve() def half():     t.forward(50)     s_curve()     t.forward(90)     l_curve()     t.forward(40)     t.left(90)     t.forward(80)     t.right(90)     t.forward(10)     t.right(90)     t.forward(120) #on test     l_curve1()     t.forward(30)     t.left(90)     t.for...

Codes for drawing heart in python

  #Python codes By Shivansh #Draw Heart Using Turtle Graphics in Python #Turtle is an inbuilt module in Python. It provides:  #Drawing using a screen (cardboard). #Turtle (pen). #To draw something on the screen, we need to move the turtle (pen) and to move the turtle, there are some functions like the forward(), backward(), etc #Prerequisite: Turtle Programming Basics #Draw Heart Using Turtle Graphics #In this section, we will discuss how to draw Heart using Turtle Graphics. #Approach: #Import Turtle #Make Turtle Object #Define a method to draw a curve with simple forward and left moves #Define a method to draw the full heart and fill the red color in it #Define a method to display some text by setting position #Call all the methods in main section. #Code: # Import turtle package  import turtle     # Creating a turtle object(pen)  pen = turtle.Turtle()     # Defining a method to draw curve  def curve():      for i in ...

Can we run python in Android phone?

Can we create a python program in Android phone? Yes, we can create a python program in Android phone/ mobile.. If we can create the python program in Android phone then , how can we create..... We can create python program in Android phone/mobile with the help of any application :- there are no. of application one of the best application is  # pythroid³ / Pythroid 3 With the help of this application you will be able to create this python program  ♦If this page help you then follow our blog for some other kind of help.... Thnx

BEGINNING CODES FOR PYTHON

 Beginners must know these codes how to multiply the no. Using python ,finding the numbers coming between the specific numbers using python.... Ist thing in python Is that in python we used  variable and constant values. 2nd things in python is that python is like solving algebraic expression.... #Code for finding the numbers falling between x and y   x = 1000000 y= 0 for num in range(y , x): print(num) #copy the above code and paste it in the python and run the code If you like this then follow our blog Thnx for viewing