![]() ![]() ![]() get()Ģ8 29 if user_input_type = 'Meters' and convert_type = 'Inches' :ģ0 converted_value = user_input_number * 39.37 31 elif user_input_type = 'Meters' and convert_type = 'Foot' :ģ2 converted_value = user_input_number * 3.28 33 elif user_input_type = 'Inches' and convert_type = 'Meters' :ģ4 converted_value = user_input_number / 39.37 35 elif user_input_type = 'Foot' and convert_type = 'Inches' :ģ6 converted_value = user_input_number * 12 37 elif user_input_type = 'Inches' and convert_type = 'Foot' :ģ8 converted_value = user_input_number / 12 39 elif user_input_type = 'Foot' and convert_type = 'Meters' :Ĥ0 converted_value = user_input_number / 3.28 41 else :Ĥ3 44 output_number_label = Label(app,text = round (converted_value, 2 ),width= 10 )Ĥ5 output_number_id(row= 1 ,colomn= 4 ,pady= 5 )Ĥ6 47 48 conversion_button = Button(app,text= 'convert' ,command= 'onverter' )Ĥ9 conversion_id(row= '2' ,colomn= '0' ,pady= '5' )Ģ3 24 # 1 Meter = 39.37 Inches 25 # 1 Meter = 3.28 Inches 26 # 1 Foot = 12 Inches 27 28 def converter (): 29 user_input_type = _ from. Runner-Up, Best Splurge: DataCamp "DataCamp has everything you need for a thorough introduction to programming in Python in just 15 hours.5 scales = Ĩ from_menu = OptionMenu(app, _ from, *scales)ĩ from_id(row= 0 ,colomn= 0 ,pady= 5 )ġ0 11 lbl = Label(app,text = 'Convert to' )ġ6 to_id(row= 0 ,colomn= 2 ,pady= 5 )ġ7 18 enterLabel = Label(app,text= 'Enter your length' )ġ9 id(row= 1 ,colomn= 0 ,colomnspan= 2 ,pady= 5 )Ģ2 id(row= 1 ,colomn= 2 ,colomnspan= 2 ,pady= 5 )Ģ3 24 def converter (): 25 user_input_type = _ from. ![]() Best Splurge: Pluralsight "There are five different Python skill paths to be found on Pluralsight, each of which offers several different courses.".Best University Level Course: Introduction to Computer Science and Programming Using Python at edX "If you’re ever stuck, you can discuss the problems with other students or even the professors on Discord and Facebook.".Best Structure: Python for Everybody Specialization at Coursera "If you want a thorough course that goes beyond just an introduction to Python, then this is exactly what you’re looking for.".Runner-Up, Best Short Course: Introduction to Python Programming at Udemy "This course is perfect as a short run-through of the basic powers of Python.".Best Short Course: Programming with Python: Hands-On Introduction for Beginners at Udemy "A great introduction for anyone who has never programmed before and wants to try Python.".Best Introductory Course: Codecademy at Codecademy "You can even try out challenges to test your skills, such as creating a Pokémon simulator.". ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |