Jump to content
  • Sky
  • Mint
  • Azure
  • Indigo
  • Blueberry
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Pomegranate
  • Ruby Red
  • Orange
  • Banana
  • Apple
  • Emerald
  • Teal
  • Chocolate
  • Slate
  • Midnight
  • Maastricht
  • Charcoal
  • Matte Black
Sign in to follow this  
-khaled-

General Can i get help with pyton 3.6 ? (simple)

4 posts in this topic

Recommended Posts

Yeah I know I suck at this but I can't figure it out.

Making a "Guessing game" but I'm getting an error that I don't know how to fix.

I know this is basic. welp

import random

Num = random.randint(1, 100)

MyNum = input("from 1 to 100! Guess!!: ")

while Num > MyNum:
              print("Higher!")
    elif Num < MyNum:  #Error here
              print("Lower!")
    elif Num == MyNum:
              print("YOU GOT IT!")
      

 

Edited by -khaled-

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Similar Content

    • By lollo.98
      Hi I created this club for all Forward Assault players! News, updates, strategies, and game tips will be posted. Playing together is fun! The club tag in the game is ll PRO ll if someone wants to use it.
    • By Levanter
      2017-11-21
      New Item: "Star Gem" Implemented! Use Various Skills!
      Star Gems are available after the maintenance on 11/21/2017.
      A Star Gem enables you to use a skill on the Star Gem without consuming skill points.
      By using Star Gems, you can greatly save skill points, so you can customize your characters in many ways.
      Let's Create a Star Gem!

      Get Star Gem Shards!
       
      You will need "Star Gem Shard", which you can obtain by recycling avatars, to create Star Gems.
      The number of Star Gem Shards you can get depends on the part of Avatar such as Top, Bottom and Accessory.
      ・How to Get "Star Gem Shard"
      1. Select "Break into Star Gem Shards" in the recycling menu.
      2.Tap the avatar item to recycle into Star Gem Shards and tap "Recycle".
      3. Tap "Recycle" to get the Star Gem Shards.
      Create Star Gems!
       
      You can create Star Gems from Menu > Character > Skills > Star Gem > Create Star Gems.
      If you select "Use 100 Shards", a Star Gem with a randomly selected Lv1 skill (except certain skills) will be created.
      If you select "Use 1,000 Shards", you can select a skill tree and put a Lv1 skill (except certain skills) on the Star Gem.
      Also, you can create a Star Gem with a randomly selected Lv1 skill for Orb x3 one time only per day.
      Therefore, the creation process of the Star Gem created with Orb x3 is the same as the one created with 100 Shards.
      Equip Star Gems!

      Let's equip Star Gems after creation!
      Tap Menu > Star Gem to create, enhance or equip Star Gems.
      How to Equip Star Gems
       
      To use the skills on Star Gems, you need to equip Star Gems from Menu > Star Gem > + Equip Star Gems.
      Cost
       
      The limit of the cost for Star Gems depends on the highest level of your characters.
      If you have a high level character, your new character can equip Star Gems with high costs.
      Each Star Gem has a cost depending on the level of the skill tree.
      As the level of the skill tree gets higher, the costs of the Star Gems get higher.
      e.g.) Quick Draw (Shot Skill) is included in Lv3 Skill Tree, so the cost is "3".
      Hard Hit (Blade Skill) is included in Lv1 Skill Tree, so the cost is "1".
      Enhance Star Gems!
       
      Star Gems with the same skill can be enhanced by synthesizing it. (The skill levels up.)
      If you enhance them, the skill level of the consumed Star Gem will be added to the base Star Gem.
      Please note that the max level for skills is 10.
      Tap Star Gem > Confirm Star Gems Owned > Enhance to enhance Star Gems.
      Evolve Star Gems!
       
      The Star Gem that reached Lv10 can be evolved to the next skill (the skill on the right side) on the skill tree.
      The skill level of a evolved Star Gem will return to Lv1.
      Tap Star Gem > Confirm Star Gems Owned > Enhance (Shown only when you have a Star Gem with a Lv10 skill.) to enhance Star Gems.
      Break Unnecessary Star Gems!
       
      You can break unnecessary Star Gems into Star Gem x50 and Mana Material Points.
      The amount of Mana Material Points get higher as the cost of the broken Star Gem gets higher.
      Tap Star Gem > Confirm Star Gems Owned > Break to break Star Gems.
      Notes

      *"Star Gem" menu in "Skills" will be displayed by meeting the following conditions.
      - Own a character with Lv40 or higher.
      - Own 1 or more "Star Gem" or "Star Gem Shard".
      *The rarities of avatar items don't affect the number of Star Gem Shards obtained by recycling avatars.
      *The number of times you can create Star Gems with Orb x3 will be reset at 5:00 AM (JST/GMT+9).
      *The Star Gems equipped by another character cannot be enhanced.
      *Star Gems with Lv10 skills cannot be enhanced.
      *A skill on a Star Gem can be evolved to the next skill on the right side in the skill tree.
      Please note that the skill cannot be evolved to the next skill on the left side.
      *You cannot evolve a Star Gem to a skill that cannot be learned due to lack of level.
      *Star Gems can be traded in future update.
      However, Star Gem Shards cannot be traded.
    • By iDavie
      Hello Godders, 
      .                            How the hell are we all doing on this fine day, I hope we are all doing well and ready to have a chat about "HeadPhone's", we all use them and we all go through them like there is no next week.
      Today I'm here for "Opinions" as I personally need a new set ... I was a Beats guy but after breaking several pairs I am no longer a fan ... What do I want from headphones crystal clear loudness, DONT WE ALL !
      So I have been looking at several brands, some I have never heard of, some the usual named brands ... But I want to know what others think first so ... Here are my top 3 so far, starting from 3 ........
      3 : a-JAYS Three - https://www.amazon.co.uk/Jays-T00074-Three-Heavy-Earphones-Black/dp/B003EV68SU
      2 : Bowers & Wilkins C5 Series 2 - https://www.google.co.uk/aclk?sa=l&ai=DChcSEwinkvjhlsnXAhXtvO0KHRq8A9IYABAAGgJkZw&sig=AOD64_3j9W9WEG3_udKGk4X0IxHtNxaEjA&q=&ved=0ahUKEwjY2vDhlsnXAhUhLMAKHdK6DHQQ0QwIQA&adurl=
      1 : Denon AH-C821- https://www.denon.co.uk/uk/product/portableaudio/inearheadphone/ahc821
      Been hovering over these as well :
      B&O ( Bang and Olufsen ) - Beoplay H5 Wireless
      https://www.currys.co.uk/gbuk/audio-and-headphones/headphones/headphones/b-o-beoplay-h5-wireless-bluetooth-headphones-black-10150204-pdt.html?store=2819&cmpid=ppc~gg~(PLA)-LOCAL~~Exact&istCompanyId=bec25c7e-cbcd-460d-81d5-a25372d2e3d7&istItemId=xwixrqxixw&istBid=t&srcid=198&cmpid=ppc~gg~0090 (PLA) HEADPHONES~All Products~Exact&mctag=gg_goog_7904&kwid=GOOGLE&device=m&ds_kids=92700027234642966&PLA=1&tgtid=0090 (PLA) HEADPHONES&gclid=EAIaIQobChMI6Pnr8dXK1wIVhpPtCh1vnAL3EAQYDSABEgKtafD_BwE&gclsrc=aw.ds
      Thanks for any input 
      iDavie
       
         
    • By iDavie
      K.K.W. Camera Lighter, 1948
      Hi Godders,                         Today I bring you a strange but kind of cool historical lighter from the 1940's that was found on a construction job, it was placed in storage and stayed there for 10 years until...... This year.    The K.K.W. Camera Lighterwas first manufactured in 1948 in Occupied Japan. Primely it was available as a wick lighter - in 1958 the butane version of the lighter was introduced and manufactured till the end of the 1960s. The camera lighter was available with a compass on front and without which was a cheaper version.    I have this lighter, me iDavie.     i found this lighter in the office at work while clearing out my belongings, it didn't work but it looked ... Dated ... Old, in need of a restore.    It is for sure one of the best examples of Japanese craftsmanship. It is very well detailed and the materials used are good quality. The shutter button works the lighter and it can be locked by using the red button on the front which is marked open - lock. Spare flints can be kept under the large nurled knob on top.
      Marked on the bottom of the camera lighter:
        K.K.W
      P.P 
      13449 
        On the earlier wick lighter version the camera and the tripod were marked:   Made in Occupied Japan
      The plastic cover was marked: Peace-Gas (gas lighter) or Photo-Flash (wick lighter) 

      Type: gas (butane) lighter & wick (petrol) lighter

      Scarcity: common–uncommon
       

      Lighters this old at quite rear so I have decided to hang on to it for a little while longer. 
      More info : http://table-lighters.blogspot.co.uk/2010/10/kkw-camera-lighter-1948.html?m=1
      What was happening in the 1940s ?
      https://en.m.wikipedia.org/wiki/1940s
      https://www.timetoast.com/timelines/52213
      https://en.m.wikipedia.org/wiki/Great_Depression
      https://en.m.wikipedia.org/wiki/Attack_on_Pearl_Harbor
      https://en.m.wikipedia.org/wiki/The_Holocaust
      What item do you have from or what historical event do you know about your country or religion in 1940's, let us know, post a link and share what you have !!
      Thank for reading
      iDavie. 
    • By DiDA
      It looks like a Chinese copy, which it actually is but it's pretty decent. Voice chat, normal chat, good graphics. Not bad.
      https://itunes.apple.com/us/app/rules-of-survival/id1307961750?mt=8
       
  • Recently Browsing   0 members

    No registered users viewing this page.


    • Administrator |
    • Global Moderator  |
    • Moderator  |
    • ViP Plus |
    • ViP |
    • Cheater |
    • Modder  |
    • Novice Cheater |
    • Rookie Modder |
    • Contributor |
    • GFX Team  |
    • Senior Member |
    • Member |
×