Popular posts from this blog
Windows Logo using Turtle in Python
Windows logo using Turtle in Python Input (Code) :- import turtle as w w . hideturtle () w . speed ( 1 ) w . bgcolor ( 'black' ) w . penup () w . goto ( - 50 , 60 ) w . pendown () w . color ( 'blue' ) w . begin_fill () w . goto ( 100 , 100 ) w . goto ( 100 , - 100 ) #Draw windows w . goto ( - 50 , - 60 ) w . goto ( - 50 , 60 ) w . end_fill () w . color ( 'black' ) w . goto ( 15 , 100 ) #cut 2 equal parts w . color ( 'black' ) w . width ( 10 ) w . goto ( 15 , - 100 ) w . penup () w . goto ( 100 , 0 ) w . pendown () w . goto ( - 100 , 0 ) w . goto ( 30 , - 180 ) w . color ( "blue" ) w . write ( "Windows" , font = ( "cooper" , 50 , "bold" ), align = "center" ) w . done () Output :- Watch this Short for result :- https://youtube.com/shorts/Lh1gTz5nFfM?feature=share
Python Source Code
Simple & Easy 2 Digit Calculator using Python in only 12 lines . Code :- a = int ( input ( 'Enter your 1st Number' )) b = int ( input ( 'Enter your 2nd Number' )) Operator = input ( 'Enter your Operator' ) if ( Operator == '+' ): print ( 'Answer :' , a + b ) elif ( Operator == '-' ): print ( 'Answer :' , a - b ) elif ( Operator == '*' ): print ( 'Answer :' , a * b ) else : print ( 'Answer :' , a / b ) Farenhit To Celcius Using Python . Code :- F= input ( "Enter Temperature in Farenheit :" ) C=( float (F)- 32 )/ 1.8 print ( "Temperature in Celcius" ,C)
Comments